Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.001525/0.001525, allocations: 88.23 kB / 20.2 MB, free: 4.23 MB / 18.57 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.001676/0.001676, allocations: 157.7 kB / 23.51 MB, free: 0.9258 MB / 18.57 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.422/1.422, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2208/0.2208, allocations: 32.37 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.729e-05, allocations: 6.25 kB / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002532/0.002559, allocations: 1.856 MB / 348.8 MB, free: 7.961 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007562/0.003315, allocations: 0.5112 MB / 349.3 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.142e-05/0.003407, allocations: 4 kB / 349.3 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.003541, allocations: 19.8 kB / 349.3 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.803e-05/0.003629, allocations: 47.56 kB / 349.4 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.003813, allocations: 39.88 kB / 349.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.003964, allocations: 151.2 kB / 349.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.004134, allocations: 41.78 kB / 349.6 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.004266, allocations: 95.78 kB / 349.7 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.55e-05/0.004351, allocations: 39.88 kB / 349.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.004379, allocations: 16 kB / 349.7 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.228e-05/0.004401, allocations: 12 kB / 349.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.004425, allocations: 27.86 kB / 349.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.004476, allocations: 47.91 kB / 349.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.004652, allocations: 155.5 kB / 350 MB, free: 6.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004654, allocations: 0 / 350 MB, free: 6.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004655, allocations: 0 / 350 MB, free: 6.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004659, allocations: 0 / 350 MB, free: 6.754 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004256/0.005085, allocations: 365.7 kB / 350.3 MB, free: 6.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.005118, allocations: 8.031 kB / 350.3 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.005175, allocations: 28.84 kB / 350.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.005364, allocations: 145.6 kB / 350.5 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.005378, allocations: 8.375 kB / 350.5 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.005409, allocations: 12.38 kB / 350.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.005655, allocations: 134.2 kB / 350.7 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.005669, allocations: 192 / 350.7 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.005685, allocations: 8.125 kB / 350.7 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.00569, allocations: 4 kB / 350.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.005853, allocations: 83.95 kB / 350.7 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.006394, allocations: 384 kB / 351.1 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.006593, allocations: 102.5 kB / 351.2 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.346e-05/0.006686, allocations: 56.83 kB / 351.3 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.006704, allocations: 0 / 351.3 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.00672, allocations: 34.56 kB / 351.3 MB, free: 5.297 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 8.11e-07/0.006721, allocations: 0 / 351.3 MB, free: 5.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.001241/0.007962, allocations: 0.6697 MB / 352 MB, free: 4.574 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.007988, allocations: 55.34 kB / 352 MB, free: 4.508 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.539e-05/0.008063, allocations: 131.9 kB / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.008074, allocations: 29.7 kB / 352.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.008115, allocations: 112.4 kB / 352.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.008146, allocations: 67.42 kB / 352.4 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.008193, allocations: 37.7 kB / 352.4 MB, free: 4.113 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.662e-05/0.00824, allocations: 326.8 kB / 352.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.659e-05/0.008327, allocations: 43.98 kB / 352.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.008442, allocations: 79.34 kB / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.008617, allocations: 135.3 kB / 353 MB, free: 3.508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.008618, allocations: 0 / 353 MB, free: 3.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003111/0.008929, allocations: 210.2 kB / 353.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.008943, allocations: 8.016 kB / 353.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.008948, allocations: 4 kB / 353.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001656/0.009114, allocations: 40.84 kB / 353.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.009269, allocations: 39.97 kB / 353.3 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.01028, allocations: 1.61 MB / 354.9 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.532e-05/0.01035, allocations: 8.016 kB / 354.9 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.01038, allocations: 8 kB / 354.9 MB, free: 1.477 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * 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 7.202e-05/0.01045, allocations: 129.7 kB / 355 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.01049, allocations: 23.89 kB / 355.1 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.01052, allocations: 12.78 kB / 355.1 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01052, allocations: 4 kB / 355.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01053, allocations: 0 / 355.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.01053, allocations: 3.984 kB / 355.1 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.0111, allocations: 481.8 kB / 355.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01111, allocations: 0 / 355.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.01127, allocations: 43.91 kB / 355.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.0114, allocations: 28.84 kB / 355.6 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.01141, allocations: 4 kB / 355.6 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.01251, allocations: 1.359 MB / 357 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01251, allocations: 0 / 357 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.0131, allocations: 349.4 kB / 357.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.01312, allocations: 15.88 kB / 357.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.01313, allocations: 0 / 357.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.01323, allocations: 8 kB / 357.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.01331, allocations: 16.09 kB / 357.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.01332, allocations: 8 kB / 357.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.391e-05/0.0134, allocations: 99.27 kB / 357.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0134, allocations: 0 / 357.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003507/0.01375, allocations: 40 kB / 357.5 MB, free: 14.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * 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 (16): * Single equations (assignments): 15 * 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.0001397/0.01389, allocations: 103.2 kB / 357.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005818/0.01447, allocations: 265.5 kB / 357.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01448, allocations: 0 / 357.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.01477, allocations: 186.5 kB / 358 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.01511, allocations: 21.56 kB / 358.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008517/0.01596, allocations: 394.2 kB / 358.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.01609, allocations: 107.7 kB / 358.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.812e-05/0.01614, allocations: 9.484 kB / 358.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.01619, allocations: 16.5 kB / 358.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01619, allocations: 0 / 358.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Templates: time 0.005473/0.02167, allocations: 1.616 MB / 360.2 MB, free: 11.94 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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: 5.0461513890186325]