Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001896/0.001896, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002299/0.002299, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3585/0.3585, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.713e-05, allocations: 6.25 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005207/0.005245, allocations: 3.012 MB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.007016, allocations: 0.8101 MB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.007183, allocations: 11.88 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.007395, allocations: 71.23 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.007757, allocations: 190.4 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.00801, allocations: 107.8 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007384/0.008748, allocations: 0.6217 MB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.009024, allocations: 113.9 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.0095, allocations: 343.3 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.009796, allocations: 179.5 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.792e-05/0.009874, allocations: 44 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.888e-05/0.009962, allocations: 44 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.01008, allocations: 103.6 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.01032, allocations: 187.6 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000695/0.01102, allocations: 0.5606 MB / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01102, allocations: 0 / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.01102, allocations: 0 / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.01103, allocations: 0 / 383.6 MB, free: 12.5 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.001227/0.01226, allocations: 0.6959 MB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.0123, allocations: 8.031 kB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.01248, allocations: 100.5 kB / 384.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.01297, allocations: 268.4 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/0.01301, allocations: 37.38 kB / 384.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/0.01311, allocations: 56.31 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000764/0.01387, allocations: 435.2 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.01391, allocations: 16.09 kB / 385.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.01396, allocations: 20.38 kB / 385.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.01397, allocations: 15.94 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.01453, allocations: 312.4 kB / 385.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.01636, allocations: 0.9366 MB / 386.4 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/0.01711, allocations: 381.3 kB / 386.8 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.01745, allocations: 195.2 kB / 387 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.01748, allocations: 8.5 kB / 387 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.01752, allocations: 43 kB / 387 MB, free: 8.871 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 1.593e-06/0.01752, allocations: 0 / 387 MB, free: 8.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.003281/0.0208, allocations: 1.881 MB / 388.9 MB, free: 6.898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.02087, allocations: 85.61 kB / 389 MB, free: 6.797 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.02113, allocations: 237.8 kB / 389.2 MB, free: 6.559 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.02117, allocations: 37.7 kB / 389.3 MB, free: 6.516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.02135, allocations: 209.4 kB / 389.5 MB, free: 6.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.0216, allocations: 285.5 kB / 389.8 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.02177, allocations: 122.6 kB / 389.9 MB, free: 5.898 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.02199, allocations: 354.8 kB / 390.2 MB, free: 5.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.02229, allocations: 153.9 kB / 390.4 MB, free: 5.391 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.02271, allocations: 280.8 kB / 390.7 MB, free: 5.074 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007578/0.02347, allocations: 474.8 kB / 391.1 MB, free: 4.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.02348, allocations: 7.938 kB / 391.1 MB, free: 4.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009682/0.02445, allocations: 0.5983 MB / 391.7 MB, free: 3.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.02447, allocations: 8 kB / 391.7 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.02448, allocations: 4 kB / 391.7 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.0245, allocations: 4 kB / 391.7 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.02513, allocations: 175.8 kB / 391.9 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.819e-05/0.02515, allocations: 11.94 kB / 391.9 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.0254, allocations: 24.27 kB / 391.9 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/0.02544, allocations: 28 kB / 392 MB, free: 3.707 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.0002187/0.02566, allocations: 185.6 kB / 392.2 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.02579, allocations: 67.72 kB / 392.2 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.02591, allocations: 55.61 kB / 392.3 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.02592, allocations: 11.94 kB / 392.3 MB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.02593, allocations: 0 / 392.3 MB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.02594, allocations: 7.984 kB / 392.3 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.02827, allocations: 1.278 MB / 393.6 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/0.02827, allocations: 4 kB / 393.6 MB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006748/0.02895, allocations: 163.9 kB / 393.7 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.02896, allocations: 8 kB / 393.7 MB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.029, allocations: 16 kB / 393.8 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.02901, allocations: 4.344 kB / 393.8 MB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.02901, allocations: 11.94 kB / 393.8 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.03033, allocations: 0.9286 MB / 394.7 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.0304, allocations: 43.72 kB / 394.8 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.03045, allocations: 12 kB / 394.8 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.03074, allocations: 23.98 kB / 394.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.03081, allocations: 48.36 kB / 394.8 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.03085, allocations: 20 kB / 394.9 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001812/0.03103, allocations: 165.2 kB / 395 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03103, allocations: 4 kB / 395 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005297/0.03156, allocations: 144 kB / 395.2 MB, free: 400 kB / 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.0001735/0.03173, allocations: 127 kB / 395.3 MB, free: 260 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007893/0.03252, allocations: 432.2 kB / 395.7 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.03252, allocations: 0.5625 kB / 395.7 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.03289, allocations: 230.5 kB / 395.9 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000893/0.03378, allocations: 142.6 kB / 396.1 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.03623, allocations: 1.381 MB / 397.5 MB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.03652, allocations: 246 kB / 397.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.03671, allocations: 60.66 kB / 397.7 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.03683, allocations: 40.5 kB / 397.8 MB, free: 13.66 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03683, allocations: 0 / 397.8 MB, free: 13.66 MB / 378.7 MB Notification: Performance of Templates: time 0.01234/0.04917, allocations: 5.362 MB / 403.2 MB, free: 8.398 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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: 4.980478142970242]