Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001652/0.001652, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001948/0.001948, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 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.413/1.413, allocations: 230.2 MB / 257.8 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2202/0.2202, allocations: 46.89 MB / 361.1 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 75.88 kB / 0.4967 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3074, allocations: 65.99 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004707/0.3121, allocations: 3.297 MB / 0.5644 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.3136, allocations: 0.8489 MB / 0.5652 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.3138, allocations: 11.94 kB / 0.5653 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.314, allocations: 79.17 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.3143, allocations: 178.5 kB / 0.5655 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.3146, allocations: 107.9 kB / 0.5656 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006113/0.3152, allocations: 0.5985 MB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.3154, allocations: 117.4 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.3157, allocations: 231.3 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.316, allocations: 242.9 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/0.316, allocations: 44 kB / 0.5668 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.525e-05/0.3161, allocations: 44 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.3162, allocations: 95.62 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002395/0.3164, allocations: 266.7 kB / 0.5672 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005713/0.317, allocations: 0.5709 MB / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.317, allocations: 0 / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.317, allocations: 0 / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.317, allocations: 0 / 0.5677 GB, free: 14.28 MB / 414.1 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.001125/0.3181, allocations: 0.7674 MB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3182, allocations: 8.031 kB / 0.5685 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.474e-05/0.3183, allocations: 60.55 kB / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.3187, allocations: 326.5 kB / 0.5689 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.3188, allocations: 37.38 kB / 0.5689 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.369e-05/0.3189, allocations: 60.27 kB / 0.569 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006754/0.3195, allocations: 438.9 kB / 0.5694 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.3196, allocations: 7.953 kB / 0.5694 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.3196, allocations: 20 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3196, allocations: 12 kB / 0.5694 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/0.3202, allocations: 312.5 kB / 0.5697 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.3218, allocations: 1.146 MB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007189/0.3226, allocations: 461.9 kB / 0.5713 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.3228, allocations: 190.9 kB / 0.5715 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.3229, allocations: 12.44 kB / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.3229, allocations: 43.02 kB / 0.5715 GB, free: 10.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.954e-06/0.3229, allocations: 0 / 0.5715 GB, free: 10.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.002926/0.3258, allocations: 2.16 MB / 0.5736 GB, free: 7.879 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.3259, allocations: 89.61 kB / 0.5737 GB, free: 7.773 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.3261, allocations: 251 kB / 0.5739 GB, free: 7.516 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.3262, allocations: 45.69 kB / 0.574 GB, free: 7.465 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.3263, allocations: 201.4 kB / 0.5742 GB, free: 7.266 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.3265, allocations: 285.5 kB / 0.5744 GB, free: 6.984 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.3267, allocations: 126.6 kB / 0.5746 GB, free: 6.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3269, allocations: 366.7 kB / 0.5749 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.3271, allocations: 153.9 kB / 0.5751 GB, free: 6.336 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.3275, allocations: 272.9 kB / 0.5753 GB, free: 6.035 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/0.3281, allocations: 474.8 kB / 0.5758 GB, free: 5.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3281, allocations: 0 / 0.5758 GB, free: 5.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008069/0.3289, allocations: 0.5644 MB / 0.5763 GB, free: 4.969 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3289, allocations: 8 kB / 0.5763 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3289, allocations: 288 / 0.5763 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3289, allocations: 12 kB / 0.5764 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.3295, allocations: 175.7 kB / 0.5765 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.3295, allocations: 8 kB / 0.5765 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.3298, allocations: 23.98 kB / 0.5765 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.3298, allocations: 28 kB / 0.5766 GB, free: 4.719 MB / 414.1 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.0001964/0.33, allocations: 185.5 kB / 0.5768 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.3301, allocations: 47.72 kB / 0.5768 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.3302, allocations: 59.64 kB / 0.5769 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3302, allocations: 3.984 kB / 0.5769 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3302, allocations: 0 / 0.5769 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.863e-05/0.3303, allocations: 120.8 kB / 0.577 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.3304, allocations: 15.94 kB / 0.577 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.3306, allocations: 16 kB / 0.577 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.3307, allocations: 40.5 kB / 0.577 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001199/0.3319, allocations: 0.7088 MB / 0.5777 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001124/0.333, allocations: 0.9394 MB / 0.5787 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000271/0.3333, allocations: 188.4 kB / 0.5788 GB, free: 2.352 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.3335, allocations: 178 kB / 0.579 GB, free: 2.176 MB / 414.1 MB Notification: Performance of Backend: time 4.51e-07/0.3335, allocations: 3.938 kB / 0.579 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008753/0.3343, allocations: 373.4 kB / 0.5794 GB, free: 1.809 MB / 414.1 MB Notification: Performance of SimCode: time 0.002761/0.3371, allocations: 2.001 MB / 0.5813 GB, free: 15.77 MB / 430.1 MB Notification: Performance of Templates: time 0.01213/0.3492, allocations: 6.458 MB / 0.5876 GB, free: 9.371 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.008411651011556]