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.001651/0.001651, allocations: 107.5 kB / 16.64 MB, free: 5.918 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.001858/0.001858, allocations: 195.1 kB / 17.56 MB, free: 5.508 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.405/1.405, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.2083/0.2083, allocations: 43.52 MB / 314.3 MB, free: 0.6992 MB / 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.001696/0.001696, allocations: 70.59 kB / 382.9 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09777/0.09948, allocations: 57.79 MB / 440.7 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003716/0.1033, allocations: 3.298 MB / 444 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1047, allocations: 0.8539 MB / 444.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004824/0.1053, allocations: 11.94 kB / 444.8 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.1056, allocations: 43.56 kB / 444.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.1062, allocations: 150.8 kB / 445 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.1065, allocations: 95.92 kB / 445.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005797/0.1071, allocations: 0.5948 MB / 445.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.1074, allocations: 161.3 kB / 445.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.1077, allocations: 223.2 kB / 446.1 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.108, allocations: 235 kB / 446.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.699e-05/0.1081, allocations: 44 kB / 446.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1082, allocations: 44 kB / 446.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.1083, allocations: 107.6 kB / 446.5 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.1085, allocations: 266.7 kB / 446.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.1089, allocations: 426.9 kB / 447.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1089, allocations: 0 / 447.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1089, allocations: 0 / 447.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.1089, allocations: 0 / 447.2 MB, free: 0.7812 MB / 318.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.001051/0.11, allocations: 0.7601 MB / 447.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.11, allocations: 11.89 kB / 447.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.1101, allocations: 56.28 kB / 448 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.1105, allocations: 318.4 kB / 448.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.1106, allocations: 37.38 kB / 448.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.367e-05/0.1107, allocations: 52.28 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/0.1114, allocations: 442.8 kB / 448.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/0.1114, allocations: 15.91 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.1115, allocations: 16 kB / 448.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.1115, allocations: 12 kB / 448.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004711/0.112, allocations: 316.5 kB / 449.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.1137, allocations: 1.146 MB / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007047/0.1144, allocations: 0.4893 MB / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.1147, allocations: 211.8 kB / 451 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.1148, allocations: 8.438 kB / 451 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1148, allocations: 39 kB / 451.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 2.635e-06/0.1148, allocations: 0 / 451.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=74): time 0.00296/0.1178, allocations: 2.147 MB / 453.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.1179, allocations: 85.67 kB / 453.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.1181, allocations: 251 kB / 453.5 MB, free: 10 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.1182, allocations: 41.7 kB / 453.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.1183, allocations: 212.9 kB / 453.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.1185, allocations: 268 kB / 454.1 MB, free: 9.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.1187, allocations: 130.7 kB / 454.2 MB, free: 9.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1188, allocations: 358.7 kB / 454.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.1191, allocations: 157.9 kB / 454.7 MB, free: 8.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.1194, allocations: 276.9 kB / 455 MB, free: 8.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/0.12, allocations: 475.1 kB / 455.4 MB, free: 8.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.12, allocations: 4 kB / 455.4 MB, free: 8.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007922/0.1208, allocations: 0.5668 MB / 456 MB, free: 7.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1208, allocations: 4.281 kB / 456 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.1209, allocations: 8 kB / 456 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.1209, allocations: 4 kB / 456 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.1215, allocations: 175.8 kB / 456.2 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.1215, allocations: 7.938 kB / 456.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.1218, allocations: 27.98 kB / 456.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.1218, allocations: 27.94 kB / 456.2 MB, free: 7.191 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.0002037/0.1221, allocations: 177.7 kB / 456.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.255e-05/0.1222, allocations: 51.44 kB / 456.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1223, allocations: 51.64 kB / 456.5 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.1223, allocations: 11.94 kB / 456.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.1223, allocations: 0 / 456.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.1223, allocations: 7.984 kB / 456.5 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.1243, allocations: 1.446 MB / 458 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.1244, allocations: 4 kB / 458 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/0.125, allocations: 155.8 kB / 458.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/0.125, allocations: 8.344 kB / 458.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/0.1251, allocations: 27.94 kB / 458.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.1251, allocations: 8.047 kB / 458.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.1251, allocations: 8 kB / 458.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.1261, allocations: 0.9111 MB / 459.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.1263, allocations: 116.6 kB / 459.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.1264, allocations: 27.94 kB / 459.2 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.1266, allocations: 16 kB / 459.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.1267, allocations: 40.38 kB / 459.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.1267, allocations: 24 kB / 459.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.1269, allocations: 181.9 kB / 459.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1269, allocations: 0 / 459.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005364/0.1275, allocations: 152 kB / 459.6 MB, free: 3.598 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.0001467/0.1276, allocations: 115.1 kB / 459.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008562/0.1285, allocations: 491.5 kB / 460.2 MB, free: 3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1285, allocations: 0 / 460.2 MB, free: 3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.1288, allocations: 243.1 kB / 460.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/0.1297, allocations: 130 kB / 460.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.1324, allocations: 1.896 MB / 462.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.1329, allocations: 0.8447 MB / 463.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.1331, allocations: 47.44 kB / 463.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1331, allocations: 0 / 463.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Templates: time 0.009734/0.1428, allocations: 5.954 MB / 469.3 MB, free: 9.82 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 -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","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches