Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001415/0.001415, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001706/0.001706, allocations: 164.8 kB / 24.99 MB, free: 8.758 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.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2879/0.2879, allocations: 34.26 MB / 296 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.002e-05, allocations: 2.312 kB / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003504/0.003534, allocations: 3.275 MB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.005103, allocations: 0.8294 MB / 382.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.005316, allocations: 11.94 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.005506, allocations: 75.17 kB / 382.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.005787, allocations: 190.4 kB / 382.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.006019, allocations: 107.8 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004603/0.006479, allocations: 0.6179 MB / 383.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.006738, allocations: 113.9 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/0.007065, allocations: 355.2 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.007285, allocations: 175.5 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.007345, allocations: 44 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.993e-05/0.007395, allocations: 44 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/0.007464, allocations: 103.6 kB / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.007604, allocations: 191.6 kB / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.008013, allocations: 382.5 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.008021, allocations: 0 / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.008023, allocations: 3.938 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.008037, allocations: 4 kB / 384.5 MB, free: 12.46 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001004/0.009041, allocations: 0.7881 MB / 385.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.611e-05/0.009107, allocations: 12.03 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.009235, allocations: 92.61 kB / 385.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.009545, allocations: 267.3 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.009573, allocations: 33.38 kB / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.786e-05/0.009641, allocations: 60.28 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.01007, allocations: 356.8 kB / 386.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.0101, allocations: 8.141 kB / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.01013, allocations: 24.38 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.01014, allocations: 15.94 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.01044, allocations: 210.5 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.01162, allocations: 0.9971 MB / 387.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005446/0.01216, allocations: 334.1 kB / 387.7 MB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.01233, allocations: 140.8 kB / 387.8 MB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.01235, allocations: 16.53 kB / 387.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.01238, allocations: 45.89 kB / 387.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 2.114e-06/0.01238, allocations: 0 / 387.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.001888/0.01427, allocations: 1.656 MB / 389.5 MB, free: 7.164 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.01432, allocations: 85.61 kB / 389.6 MB, free: 7.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.01452, allocations: 296.2 kB / 389.9 MB, free: 6.758 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.01454, allocations: 33.7 kB / 389.9 MB, free: 6.719 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.01469, allocations: 260 kB / 390.2 MB, free: 6.457 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.01485, allocations: 285.5 kB / 390.4 MB, free: 6.176 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.01496, allocations: 120.3 kB / 390.6 MB, free: 6.051 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.01515, allocations: 0.5235 MB / 391.1 MB, free: 5.516 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.01529, allocations: 97.94 kB / 391.2 MB, free: 5.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.0155, allocations: 246.8 kB / 391.4 MB, free: 5.129 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.01589, allocations: 400.5 kB / 391.8 MB, free: 4.684 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01589, allocations: 3.938 kB / 391.8 MB, free: 4.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0005108/0.0164, allocations: 0.4969 MB / 392.3 MB, free: 4.176 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.01642, allocations: 8 kB / 392.3 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.01643, allocations: 0 / 392.3 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.01644, allocations: 8 kB / 392.3 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.01678, allocations: 175.8 kB / 392.5 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.0168, allocations: 15.92 kB / 392.5 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.01694, allocations: 20 kB / 392.5 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.01696, allocations: 24 kB / 392.6 MB, free: 3.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.01709, allocations: 204.5 kB / 392.8 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.01716, allocations: 67.72 kB / 392.8 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.928e-05/0.01723, allocations: 59.61 kB / 392.9 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.01724, allocations: 8 kB / 392.9 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.01724, allocations: 0 / 392.9 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.01725, allocations: 3.984 kB / 392.9 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.01845, allocations: 1.311 MB / 394.2 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.01846, allocations: 7.984 kB / 394.2 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.0188, allocations: 155.8 kB / 394.4 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.01881, allocations: 8 kB / 394.4 MB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/0.01887, allocations: 16 kB / 394.4 MB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.01887, allocations: 8 kB / 394.4 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.01887, allocations: 4.344 kB / 394.4 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007376/0.01961, allocations: 0.9085 MB / 395.3 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.01965, allocations: 39.72 kB / 395.3 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.01969, allocations: 19.98 kB / 395.4 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.01983, allocations: 16 kB / 395.4 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.01988, allocations: 56.3 kB / 395.4 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.01989, allocations: 23.98 kB / 395.5 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.035e-05/0.01998, allocations: 197.1 kB / 395.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01998, allocations: 4 kB / 395.7 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003383/0.02032, allocations: 140 kB / 395.8 MB, free: 0.5078 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001063/0.02043, allocations: 119.1 kB / 395.9 MB, free: 388 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003986/0.02083, allocations: 366.4 kB / 396.3 MB, free: 24 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02083, allocations: 0.5625 kB / 396.3 MB, free: 24 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.02103, allocations: 211.5 kB / 396.5 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/0.02154, allocations: 129.1 kB / 396.6 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.02332, allocations: 1.388 MB / 398 MB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.498e-05/0.0234, allocations: 131.3 kB / 398.1 MB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.02353, allocations: 60.66 kB / 398.2 MB, free: 14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.0236, allocations: 40.5 kB / 398.2 MB, free: 13.96 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02361, allocations: 4 kB / 398.2 MB, free: 13.96 MB / 378.7 MB Notification: Performance of Templates: time 0.007533/0.03114, allocations: 5.36 MB / 403.6 MB, free: 8.703 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.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.391410805983469]