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.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.001558/0.001558, allocations: 112.2 kB / 21.94 MB, free: 12 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.002305/0.002305, allocations: 198.7 kB / 25.23 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] 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.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.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 51.92 kB / 348.4 MB, free: 9.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3973, allocations: 49.17 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003902/0.4012, allocations: 2.366 MB / 400 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.4023, allocations: 0.6382 MB / 400.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.4025, allocations: 5.094 kB / 400.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.4027, allocations: 35.72 kB / 400.6 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.4028, allocations: 74.38 kB / 400.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.4031, allocations: 58.17 kB / 400.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.4034, allocations: 256.8 kB / 401 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.4036, allocations: 67.28 kB / 401.1 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.4038, allocations: 107.8 kB / 401.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.404, allocations: 102.6 kB / 401.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.162e-05/0.4041, allocations: 19 kB / 401.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.292e-05/0.4041, allocations: 18.47 kB / 401.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.4042, allocations: 49.2 kB / 401.4 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.4043, allocations: 118.8 kB / 401.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.4048, allocations: 250.5 kB / 401.7 MB, free: 6.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4048, allocations: 0 / 401.7 MB, free: 6.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4048, allocations: 3.938 kB / 401.7 MB, free: 6.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.4048, allocations: 1.094 kB / 401.7 MB, free: 6.824 MB / 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.0008235/0.4056, allocations: 448.3 kB / 402.2 MB, free: 6.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.4057, allocations: 14.45 kB / 402.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.4058, allocations: 30.03 kB / 402.2 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.4062, allocations: 177.2 kB / 402.4 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.4062, allocations: 21.06 kB / 402.4 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.987e-05/0.4063, allocations: 22.62 kB / 402.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.4068, allocations: 211 kB / 402.6 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.4068, allocations: 5.562 kB / 402.7 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.4068, allocations: 10.16 kB / 402.7 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.4068, allocations: 8.359 kB / 402.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.4071, allocations: 130.9 kB / 402.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.4083, allocations: 0.6674 MB / 403.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.4086, allocations: 134.7 kB / 403.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.4088, allocations: 68.61 kB / 403.7 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.4088, allocations: 2.125 kB / 403.7 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.4088, allocations: 31.69 kB / 403.7 MB, free: 5.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.4088, allocations: 0 / 403.7 MB, free: 5.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001647/0.4105, allocations: 0.7491 MB / 404.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.4105, allocations: 53.59 kB / 404.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.4107, allocations: 173.1 kB / 404.7 MB, free: 4.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.4107, allocations: 30.8 kB / 404.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.4108, allocations: 140.3 kB / 404.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.4108, allocations: 89.88 kB / 404.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.4109, allocations: 54.28 kB / 405 MB, free: 4.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.944e-05/0.411, allocations: 329.4 kB / 405.3 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.4111, allocations: 52.84 kB / 405.3 MB, free: 4.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.4112, allocations: 102.2 kB / 405.4 MB, free: 4.121 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.4115, allocations: 169 kB / 405.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4115, allocations: 0 / 405.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004308/0.412, allocations: 251.6 kB / 405.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.412, allocations: 9.875 kB / 405.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.412, allocations: 5.438 kB / 405.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.4122, allocations: 32.12 kB / 405.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.4124, allocations: 48.75 kB / 406 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.4135, allocations: 1.381 MB / 407.3 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.4137, allocations: 9.297 kB / 407.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.4137, allocations: 11.3 kB / 407.4 MB, free: 2.531 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.0001192/0.4138, allocations: 140.1 kB / 407.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.4138, allocations: 25.56 kB / 407.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.4139, allocations: 22.52 kB / 407.5 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4139, allocations: 10.5 kB / 407.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4139, allocations: 1.125 kB / 407.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.4139, allocations: 2.594 kB / 407.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.4149, allocations: 0.6199 MB / 408.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4149, allocations: 1.375 kB / 408.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.4151, allocations: 45.22 kB / 408.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/0.4153, allocations: 31.66 kB / 408.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.4153, allocations: 6.203 kB / 408.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009766/0.4163, allocations: 1.383 MB / 409.6 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4163, allocations: 1.375 kB / 409.6 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.4168, allocations: 408.8 kB / 410 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.4169, allocations: 22.66 kB / 410.1 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.4169, allocations: 5.891 kB / 410.1 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.417, allocations: 12.92 kB / 410.1 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.4171, allocations: 23.67 kB / 410.1 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.4171, allocations: 4.641 kB / 410.1 MB, free: 256 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.4172, allocations: 134 kB / 410.2 MB, free: 160 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4172, allocations: 0 / 410.2 MB, free: 160 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003815/0.4176, allocations: 53.5 kB / 410.3 MB, free: 156 kB / 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.0001203/0.4177, allocations: 106.2 kB / 410.4 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006923/0.4184, allocations: 285.4 kB / 410.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4184, allocations: 1.156 kB / 410.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.4188, allocations: 207.6 kB / 410.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.4192, allocations: 50.44 kB / 410.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.4207, allocations: 0.6998 MB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.4213, allocations: 0.75 MB / 412.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.4213, allocations: 19.84 kB / 412.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4213, allocations: 4 kB / 412.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Templates: time 0.007522/0.4288, allocations: 3.503 MB / 415.9 MB, free: 13.16 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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: 8.081496243132278]