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.002037/0.002037, allocations: 102.6 kB / 21.93 MB, free: 5.203 MB / 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.003204/0.003204, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.749/1.749, allocations: 207.7 MB / 236.1 MB, free: 9.785 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.001852/0.001852, allocations: 61.48 kB / 348.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3358, allocations: 49.17 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003567/0.3394, allocations: 2.227 MB / 399.8 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.3404, allocations: 0.6038 MB / 400.4 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.3405, allocations: 3.438 kB / 400.4 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.3407, allocations: 36.72 kB / 400.5 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.3408, allocations: 74.8 kB / 400.5 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.341, allocations: 58.91 kB / 400.6 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.3413, allocations: 263.5 kB / 400.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.3415, allocations: 63.22 kB / 400.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.3417, allocations: 102.7 kB / 401 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.3418, allocations: 86.84 kB / 401.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.3419, allocations: 19.22 kB / 401.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.616e-05/0.3419, allocations: 27 kB / 401.1 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.342, allocations: 48.81 kB / 401.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.3421, allocations: 95 kB / 401.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.3424, allocations: 254.1 kB / 401.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3424, allocations: 0 / 401.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3424, allocations: 1.375 kB / 401.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3424, allocations: 0 / 401.5 MB, free: 6.93 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.000649/0.3431, allocations: 445.3 kB / 402 MB, free: 6.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3431, allocations: 13.08 kB / 402 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.3432, allocations: 25.45 kB / 402 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.3435, allocations: 187 kB / 402.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.3435, allocations: 12.44 kB / 402.2 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.3435, allocations: 26.84 kB / 402.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.3439, allocations: 211.1 kB / 402.4 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.3439, allocations: 6.203 kB / 402.4 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.3439, allocations: 9.062 kB / 402.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3439, allocations: 6.141 kB / 402.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.3442, allocations: 125.6 kB / 402.6 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/0.3451, allocations: 0.5871 MB / 403.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.3454, allocations: 137 kB / 403.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.3456, allocations: 64.36 kB / 403.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3456, allocations: 3.844 kB / 403.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3456, allocations: 35.84 kB / 403.4 MB, free: 5.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.3456, allocations: 1.438 kB / 403.4 MB, free: 5.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001536/0.3471, allocations: 0.742 MB / 404.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.3472, allocations: 60.91 kB / 404.2 MB, free: 5.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3474, allocations: 165.5 kB / 404.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3474, allocations: 30.77 kB / 404.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.459e-05/0.3475, allocations: 148.4 kB / 404.5 MB, free: 4.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/0.3475, allocations: 93.23 kB / 404.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/0.3476, allocations: 45.03 kB / 404.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.3477, allocations: 329.2 kB / 405 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.3478, allocations: 59.09 kB / 405.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.3479, allocations: 97.23 kB / 405.2 MB, free: 4.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.3482, allocations: 170 kB / 405.3 MB, free: 4.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3482, allocations: 0 / 405.3 MB, free: 4.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004367/0.3487, allocations: 251.3 kB / 405.6 MB, free: 4.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3487, allocations: 5.75 kB / 405.6 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3487, allocations: 0.9375 kB / 405.6 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/0.3489, allocations: 40.95 kB / 405.6 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.3491, allocations: 46.53 kB / 405.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.3501, allocations: 1.351 MB / 407 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.3503, allocations: 17.86 kB / 407 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3503, allocations: 6.5 kB / 407 MB, free: 2.738 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.0001182/0.3504, allocations: 136.3 kB / 407.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.3504, allocations: 20.58 kB / 407.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.3505, allocations: 23.23 kB / 407.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3505, allocations: 3.312 kB / 407.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3505, allocations: 0.6562 kB / 407.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.3505, allocations: 6.328 kB / 407.2 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000851/0.3514, allocations: 0.5686 MB / 407.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3514, allocations: 0.8438 kB / 407.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.3516, allocations: 45.53 kB / 407.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.3517, allocations: 35.05 kB / 407.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.3517, allocations: 3.641 kB / 407.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008809/0.3526, allocations: 1.357 MB / 409.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3526, allocations: 5.312 kB / 409.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.3531, allocations: 398.2 kB / 409.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.3532, allocations: 18.7 kB / 409.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.3532, allocations: 11.67 kB / 409.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.3533, allocations: 7.703 kB / 409.7 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.3534, allocations: 23.67 kB / 409.7 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.3534, allocations: 9.5 kB / 409.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.566e-05/0.3535, allocations: 126.2 kB / 409.8 MB, free: 472 kB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3535, allocations: 0 / 409.8 MB, free: 472 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003406/0.3538, allocations: 57.5 kB / 409.9 MB, free: 464 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.0001098/0.3539, allocations: 97.66 kB / 410 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005674/0.3545, allocations: 297.7 kB / 410.3 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3545, allocations: 1.375 kB / 410.3 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.3548, allocations: 203.5 kB / 410.5 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.3552, allocations: 40.84 kB / 410.5 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.3566, allocations: 0.715 MB / 411.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.3568, allocations: 137.1 kB / 411.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.3569, allocations: 19.7 kB / 411.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3569, allocations: 0 / 411.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of Templates: time 0.007217/0.3641, allocations: 3.584 MB / 414.9 MB, free: 14.05 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.362534237094223]