Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 113.2 kB / 17.73 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 184.2 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 55.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09554/0.09694, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003868/0.1008, allocations: 2.345 MB / 377.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1021, allocations: 0.6278 MB / 378.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.1023, allocations: 4 kB / 378.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1026, allocations: 35.66 kB / 378.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1028, allocations: 67.36 kB / 378.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1031, allocations: 59.86 kB / 378.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000364/0.1034, allocations: 258.8 kB / 378.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.1037, allocations: 88.28 kB / 378.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.1039, allocations: 107.6 kB / 378.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.1041, allocations: 111.5 kB / 378.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.1042, allocations: 16 kB / 378.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.713e-05/0.1043, allocations: 24 kB / 378.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.1043, allocations: 47.84 kB / 378.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.1045, allocations: 115.4 kB / 379 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.1048, allocations: 243.1 kB / 379.3 MB, free: 440 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1048, allocations: 0 / 379.3 MB, free: 440 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1048, allocations: 4 kB / 379.3 MB, free: 436 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.1048, allocations: 0 / 379.3 MB, free: 436 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.1893/0.2941, allocations: 0.4997 MB / 379.8 MB, free: 13.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.2942, allocations: 15.69 kB / 379.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.2943, allocations: 25.38 kB / 379.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.2946, allocations: 240.7 kB / 380 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.2946, allocations: 16.84 kB / 380.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.2947, allocations: 22.66 kB / 380.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.2951, allocations: 217.9 kB / 380.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.2951, allocations: 0.9688 kB / 380.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.2951, allocations: 11.72 kB / 380.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.2952, allocations: 5.422 kB / 380.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.2954, allocations: 126.7 kB / 380.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009431/0.2964, allocations: 0.7037 MB / 381.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.2966, allocations: 149.1 kB / 381.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.2968, allocations: 73.8 kB / 381.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.2968, allocations: 1.375 kB / 381.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.2968, allocations: 34.98 kB / 381.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.2968, allocations: 1.781 kB / 381.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001518/0.2984, allocations: 0.8814 MB / 382.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.2984, allocations: 65.98 kB / 382.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2986, allocations: 172.2 kB / 382.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.2986, allocations: 29.7 kB / 382.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.2986, allocations: 139.8 kB / 382.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.2987, allocations: 85.78 kB / 382.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.2988, allocations: 47.33 kB / 382.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.2988, allocations: 328.7 kB / 383.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.299, allocations: 57.64 kB / 383.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.2992, allocations: 97.61 kB / 383.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.2995, allocations: 177 kB / 383.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2995, allocations: 0 / 383.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004117/0.2999, allocations: 255 kB / 383.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2999, allocations: 5.844 kB / 383.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3, allocations: 7.734 kB / 383.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.3001, allocations: 33.17 kB / 383.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.3004, allocations: 52.77 kB / 383.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009154/0.3013, allocations: 1.48 MB / 385.3 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.3014, allocations: 10.08 kB / 385.3 MB, free: 9.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.3014, allocations: 10.59 kB / 385.3 MB, free: 9.324 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.3015, allocations: 130.3 kB / 385.4 MB, free: 9.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.3016, allocations: 18.62 kB / 385.4 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.3016, allocations: 26.97 kB / 385.5 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.3017, allocations: 3.453 kB / 385.5 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3017, allocations: 5.625 kB / 385.5 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3017, allocations: 7.781 kB / 385.5 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008917/0.3026, allocations: 0.6475 MB / 386.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3026, allocations: 1.062 kB / 386.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.3028, allocations: 40.81 kB / 386.2 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/0.3029, allocations: 47.8 kB / 386.2 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.303, allocations: 6.312 kB / 386.2 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008805/0.3038, allocations: 1.486 MB / 387.7 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3039, allocations: 1.844 kB / 387.7 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.3044, allocations: 407.9 kB / 388.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.3045, allocations: 91.44 kB / 388.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.3045, allocations: 7.281 kB / 388.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.3046, allocations: 8.453 kB / 388.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.3047, allocations: 14.55 kB / 388.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3047, allocations: 9.312 kB / 388.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.3048, allocations: 133.6 kB / 388.4 MB, free: 6.734 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3048, allocations: 0 / 388.4 MB, free: 6.734 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003323/0.3052, allocations: 63.78 kB / 388.4 MB, free: 6.723 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000118/0.3053, allocations: 105.8 kB / 388.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005704/0.3059, allocations: 288.3 kB / 388.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3059, allocations: 1.438 kB / 388.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.3062, allocations: 217.2 kB / 389 MB, free: 6.312 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.3067, allocations: 48.28 kB / 389.1 MB, free: 6.293 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.3077, allocations: 0.6729 MB / 389.7 MB, free: 5.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.3079, allocations: 0.7502 MB / 390.5 MB, free: 5.145 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.373e-05/0.308, allocations: 19.58 kB / 390.5 MB, free: 5.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.3081, allocations: 18.28 kB / 390.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3081, allocations: 0 / 390.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of Templates: time 0.007154/0.3152, allocations: 2.416 MB / 392.9 MB, free: 4.938 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches