Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 115.2 kB / 17.04 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2004/0.2004, allocations: 43.51 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 65.97 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09863, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004227/0.1029, allocations: 3.267 MB / 445.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1044, allocations: 0.8383 MB / 446.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.1046, allocations: 11.94 kB / 446.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.1049, allocations: 75.17 kB / 446.2 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.1051, allocations: 166.5 kB / 446.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.1053, allocations: 111.8 kB / 446.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.1058, allocations: 0.5949 MB / 447 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.106, allocations: 177.3 kB / 447.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.1062, allocations: 219.2 kB / 447.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.1064, allocations: 242.9 kB / 447.6 MB, free: 440 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.1064, allocations: 40 kB / 447.7 MB, free: 400 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.766e-05/0.1065, allocations: 48 kB / 447.7 MB, free: 352 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.1066, allocations: 91.69 kB / 447.8 MB, free: 260 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.1067, allocations: 270.8 kB / 448.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.1072, allocations: 0.5565 MB / 448.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1072, allocations: 4 kB / 448.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1073, allocations: 0 / 448.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.1073, allocations: 0 / 448.6 MB, free: 15.43 MB / 334.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.001044/0.1083, allocations: 0.7639 MB / 449.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1084, allocations: 11.89 kB / 449.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.251e-05/0.1085, allocations: 56.28 kB / 449.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.1089, allocations: 318.4 kB / 449.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.109, allocations: 37.38 kB / 449.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.352e-05/0.1091, allocations: 56.27 kB / 449.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000635/0.1097, allocations: 434.9 kB / 450.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.1097, allocations: 19.89 kB / 450.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.1098, allocations: 16 kB / 450.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1098, allocations: 12 kB / 450.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.1103, allocations: 317.9 kB / 450.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.1118, allocations: 1.138 MB / 451.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.1125, allocations: 493.1 kB / 452.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.1128, allocations: 215.9 kB / 452.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.1128, allocations: 4.438 kB / 452.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1129, allocations: 47.25 kB / 452.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 2.044e-06/0.1129, allocations: 3.938 kB / 452.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=74): time 0.002691/0.1156, allocations: 2.135 MB / 454.7 MB, free: 9.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.1156, allocations: 85.67 kB / 454.8 MB, free: 8.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.1159, allocations: 254.9 kB / 455 MB, free: 8.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.1159, allocations: 37.7 kB / 455.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.116, allocations: 213 kB / 455.3 MB, free: 8.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.1162, allocations: 272 kB / 455.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.1164, allocations: 118.7 kB / 455.6 MB, free: 8.004 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1165, allocations: 362.7 kB / 456 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.1167, allocations: 161.9 kB / 456.2 MB, free: 7.484 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.1171, allocations: 276.9 kB / 456.4 MB, free: 7.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005824/0.1177, allocations: 468 kB / 456.9 MB, free: 6.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1177, allocations: 4 kB / 456.9 MB, free: 6.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007382/0.1184, allocations: 0.5668 MB / 457.5 MB, free: 6.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1184, allocations: 4 kB / 457.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1185, allocations: 4 kB / 457.5 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1185, allocations: 12.28 kB / 457.5 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.1191, allocations: 183.8 kB / 457.7 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1191, allocations: 4 kB / 457.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.1193, allocations: 27.98 kB / 457.7 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.1194, allocations: 31.94 kB / 457.7 MB, free: 5.844 MB / 334.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.0001761/0.1196, allocations: 177.7 kB / 457.9 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.152e-05/0.1197, allocations: 47.44 kB / 457.9 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-05/0.1198, allocations: 55.64 kB / 458 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1198, allocations: 8 kB / 458 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.1198, allocations: 4 kB / 458 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1198, allocations: 3.984 kB / 458 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.1216, allocations: 1.44 MB / 459.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1216, allocations: 352 / 459.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.1222, allocations: 163.8 kB / 459.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.1222, allocations: 4 kB / 459.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.1222, allocations: 23.94 kB / 459.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.1223, allocations: 8 kB / 459.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1223, allocations: 3.938 kB / 459.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009998/0.1233, allocations: 0.9155 MB / 460.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/0.1234, allocations: 112.6 kB / 460.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.1234, allocations: 27.92 kB / 460.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.1237, allocations: 16 kB / 460.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.1238, allocations: 44.42 kB / 460.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.1238, allocations: 27.98 kB / 460.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.124, allocations: 185.9 kB / 461 MB, free: 2.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.124, allocations: 0 / 461 MB, free: 2.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004796/0.1244, allocations: 144 kB / 461.1 MB, free: 2.266 MB / 334.1 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.0001231/0.1246, allocations: 123 kB / 461.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006333/0.1252, allocations: 460 kB / 461.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1252, allocations: 8.062 kB / 461.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.1255, allocations: 234.2 kB / 461.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007809/0.1263, allocations: 132.7 kB / 462 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.1286, allocations: 1.648 MB / 463.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.129, allocations: 0.8447 MB / 464.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.1291, allocations: 60.66 kB / 464.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-05/0.1292, allocations: 39.44 kB / 464.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1292, allocations: 0 / 464.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Templates: time 0.009417/0.1387, allocations: 5.301 MB / 469.9 MB, free: 9.387 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches