Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.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.001461/0.001461, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001495/0.001495, allocations: 168 kB / 24.82 MB, free: 9.258 MB / 18.57 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.098/1.098, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4336/0.4336, allocations: 32.81 MB / 294.6 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 376.4 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.454e-05, allocations: 6.312 kB / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.00671/0.006745, allocations: 5.494 MB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005372/0.01212, allocations: 2.27 MB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.01363, allocations: 55.5 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.01423, allocations: 230 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006846/0.01492, allocations: 198 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.01641, allocations: 482.7 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.01787, allocations: 1.137 MB / 386.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007116/0.01859, allocations: 401.9 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009725/0.01956, allocations: 0.5614 MB / 387.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004574/0.02002, allocations: 283.1 kB / 387.5 MB, free: 9.273 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.02015, allocations: 96 kB / 387.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.02048, allocations: 167.8 kB / 387.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.02069, allocations: 227.2 kB / 388 MB, free: 8.793 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.02099, allocations: 307.3 kB / 388.3 MB, free: 8.492 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.02208, allocations: 0.7471 MB / 389.1 MB, free: 7.742 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.02208, allocations: 0 / 389.1 MB, free: 7.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.02209, allocations: 0 / 389.1 MB, free: 7.742 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.682e-05/0.02211, allocations: 3.938 kB / 389.1 MB, free: 7.738 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001487/0.0236, allocations: 1.185 MB / 390.2 MB, free: 6.512 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.02366, allocations: 12.02 kB / 390.3 MB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/0.024, allocations: 192.3 kB / 390.4 MB, free: 6.312 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007367/0.02474, allocations: 0.5641 MB / 391 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.02479, allocations: 70.12 kB / 391.1 MB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.02489, allocations: 92 kB / 391.2 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000861/0.02575, allocations: 0.7012 MB / 391.9 MB, free: 4.777 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.02579, allocations: 15.92 kB / 391.9 MB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.02584, allocations: 40 kB / 391.9 MB, free: 4.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.02585, allocations: 20 kB / 391.9 MB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.02624, allocations: 257.5 kB / 392.2 MB, free: 4.453 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.02939, allocations: 3.954 MB / 396.1 MB, free: 356 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004267/0.02981, allocations: 155.6 kB / 396.3 MB, free: 180 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.083e-05/0.02988, allocations: 64.14 kB / 396.4 MB, free: 112 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.03, allocations: 16 kB / 396.4 MB, free: 96 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.03003, allocations: 45.81 kB / 396.4 MB, free: 40 kB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.075e-06/0.03004, allocations: 4 kB / 396.4 MB, free: 36 kB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.001632/0.03167, allocations: 0.854 MB / 397.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.03171, allocations: 55.41 kB / 397.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.03207, allocations: 450.2 kB / 397.8 MB, free: 14.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.0321, allocations: 33.7 kB / 397.8 MB, free: 14.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.03242, allocations: 0.5139 MB / 398.3 MB, free: 14.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.03253, allocations: 146.8 kB / 398.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.03265, allocations: 103.9 kB / 398.6 MB, free: 13.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.03286, allocations: 0.535 MB / 399.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.799e-05/0.03294, allocations: 49.27 kB / 399.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.03318, allocations: 326.3 kB / 399.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.03357, allocations: 431.6 kB / 399.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.03358, allocations: 4 kB / 399.9 MB, free: 12.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004572/0.03403, allocations: 420.9 kB / 400.3 MB, free: 11.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.03406, allocations: 8 kB / 400.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.03407, allocations: 4 kB / 400.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.03424, allocations: 35.67 kB / 400.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.03451, allocations: 119.8 kB / 400.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004787/0.03499, allocations: 0.8194 MB / 401.3 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.03515, allocations: 20 kB / 401.3 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.03518, allocations: 20 kB / 401.3 MB, free: 10.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002372/0.03542, allocations: 196.4 kB / 401.5 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.03548, allocations: 55.72 kB / 401.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.03587, allocations: 257.9 kB / 401.8 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.03587, allocations: 4 kB / 401.8 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.03588, allocations: 0 / 401.8 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.03588, allocations: 0 / 401.8 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009896/0.03687, allocations: 0.7706 MB / 402.6 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.03688, allocations: 0 / 402.6 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.0371, allocations: 79.95 kB / 402.7 MB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001293/0.03723, allocations: 27.61 kB / 402.7 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.03725, allocations: 12 kB / 402.7 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004158/0.03767, allocations: 0.8077 MB / 403.5 MB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.03767, allocations: 4 kB / 403.5 MB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.03823, allocations: 0.4954 MB / 404 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.03828, allocations: 43.67 kB / 404.1 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.03832, allocations: 15.88 kB / 404.1 MB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.0384, allocations: 8 kB / 404.1 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.03846, allocations: 23.95 kB / 404.1 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.03848, allocations: 15.98 kB / 404.1 MB, free: 7.754 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001827/0.03866, allocations: 267 kB / 404.4 MB, free: 7.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03866, allocations: 0 / 404.4 MB, free: 7.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004749/0.03914, allocations: 128 kB / 404.5 MB, free: 7.371 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.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 (33): * Single equations (assignments): 32 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002383/0.03938, allocations: 118.2 kB / 404.6 MB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.03979, allocations: 246.4 kB / 404.9 MB, free: 7.008 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.03979, allocations: 0 / 404.9 MB, free: 7.008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.03992, allocations: 100.5 kB / 405 MB, free: 6.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.04036, allocations: 93.89 kB / 405.1 MB, free: 6.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.04274, allocations: 1.45 MB / 406.5 MB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.04286, allocations: 157.7 kB / 406.7 MB, free: 5.133 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.04302, allocations: 64.47 kB / 406.7 MB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.04321, allocations: 166.1 kB / 406.9 MB, free: 4.906 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.04321, allocations: 0 / 406.9 MB, free: 4.906 MB / 378.7 MB Notification: Performance of Templates: time 0.01049/0.0537, allocations: 4.297 MB / 411.2 MB, free: 0.6836 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.509753649123013]