Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.401/1.401, allocations: 177.2 MB / 204.9 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 55.66 kB / 325.6 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08568/0.08733, allocations: 53.33 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003611/0.09094, allocations: 2.258 MB / 381.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.09208, allocations: 0.6155 MB / 381.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.0922, allocations: 7.938 kB / 381.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.09234, allocations: 35.59 kB / 381.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.09251, allocations: 83.33 kB / 381.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.09275, allocations: 63.84 kB / 381.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.09307, allocations: 274.7 kB / 382.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.09326, allocations: 87.14 kB / 382.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.09346, allocations: 115.6 kB / 382.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.09363, allocations: 95.48 kB / 382.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.09366, allocations: 23.94 kB / 382.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.112e-05/0.09373, allocations: 32 kB / 382.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.128e-05/0.09378, allocations: 51.77 kB / 382.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.0939, allocations: 103.5 kB / 382.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.09425, allocations: 266.9 kB / 383 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.09425, allocations: 4 kB / 383 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09425, allocations: 0 / 383 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.09426, allocations: 3.984 kB / 383 MB, free: 11.58 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007355/0.095, allocations: 461.5 kB / 383.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.09503, allocations: 12.03 kB / 383.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.09519, allocations: 36.75 kB / 383.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.09552, allocations: 183.8 kB / 383.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.09554, allocations: 16.88 kB / 383.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.09559, allocations: 28.33 kB / 383.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.09596, allocations: 204.3 kB / 383.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.09597, allocations: 0 / 383.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.096, allocations: 8 kB / 383.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.09601, allocations: 12 kB / 383.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.09631, allocations: 141.9 kB / 384.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.09718, allocations: 0.4944 MB / 384.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.0975, allocations: 162.6 kB / 384.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.09767, allocations: 96.05 kB / 384.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.09769, allocations: 4 kB / 384.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.09772, allocations: 30.56 kB / 384.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.09772, allocations: 4 kB / 384.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001896/0.09962, allocations: 0.9269 MB / 385.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.09966, allocations: 55.41 kB / 385.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.09982, allocations: 166.2 kB / 386 MB, free: 8.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.09985, allocations: 33.7 kB / 386 MB, free: 8.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.09994, allocations: 144.8 kB / 386.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.444e-05/0.1, allocations: 115 kB / 386.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.824e-05/0.1001, allocations: 49.7 kB / 386.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1003, allocations: 338.8 kB / 386.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.1004, allocations: 67.97 kB / 386.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.1006, allocations: 107.8 kB / 386.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.101, allocations: 196.1 kB / 387 MB, free: 7.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.101, allocations: 4 kB / 387 MB, free: 7.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005298/0.1015, allocations: 287.2 kB / 387.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1015, allocations: 11.94 kB / 387.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1015, allocations: 3.984 kB / 387.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.1017, allocations: 40.84 kB / 387.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.1019, allocations: 59.91 kB / 387.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.1035, allocations: 1.61 MB / 389 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.1036, allocations: 8 kB / 389 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1037, allocations: 8 kB / 389 MB, free: 5.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.1038, allocations: 146.3 kB / 389.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.1038, allocations: 23.86 kB / 389.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.1039, allocations: 30.59 kB / 389.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.1039, allocations: 8.062 kB / 389.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1039, allocations: 4 kB / 389.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1039, allocations: 3.984 kB / 389.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.105, allocations: 0.6643 MB / 389.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.105, allocations: 4 kB / 389.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.1053, allocations: 59.91 kB / 390 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.1054, allocations: 40.86 kB / 390 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.1054, allocations: 8 kB / 390 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.1067, allocations: 1.354 MB / 391.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1067, allocations: 0 / 391.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007389/0.1074, allocations: 491.7 kB / 391.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.1074, allocations: 23.98 kB / 391.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.1075, allocations: 7.984 kB / 391.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.1076, allocations: 11.94 kB / 391.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.1077, allocations: 27.95 kB / 391.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1077, allocations: 8 kB / 391.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.1078, allocations: 124.5 kB / 392.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1078, allocations: 0 / 392.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.1082, allocations: 64 kB / 392.1 MB, free: 1.891 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.000119/0.1083, allocations: 111.1 kB / 392.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006141/0.1089, allocations: 338.6 kB / 392.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1089, allocations: 0 / 392.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.1093, allocations: 230.5 kB / 392.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.1097, allocations: 51.23 kB / 392.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.111, allocations: 0.7257 MB / 393.6 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.1111, allocations: 150.8 kB / 393.7 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.549e-05/0.1112, allocations: 22.23 kB / 393.7 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.1112, allocations: 20.5 kB / 393.8 MB, free: 176 kB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1112, allocations: 0 / 393.8 MB, free: 176 kB / 350.1 MB Notification: Performance of Templates: time 0.006962/0.1182, allocations: 2.668 MB / 396.4 MB, free: 13.54 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.139721287065186]