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: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 107.2 kB / 16.41 MB, free: 6.5 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.001439/0.001439, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.552/1.552, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2425/0.2425, allocations: 43.52 MB / 314.1 MB, free: 452 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.002296/0.002296, allocations: 79.88 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1116, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004755/0.1164, allocations: 3.259 MB / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.1184, allocations: 0.85 MB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000356/0.1188, allocations: 11.94 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.1191, allocations: 67.25 kB / 0.4915 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000554/0.1196, allocations: 170.5 kB / 0.4916 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.12, allocations: 111.8 kB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000924/0.121, allocations: 0.6026 MB / 0.4923 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004533/0.1214, allocations: 165.3 kB / 0.4925 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004819/0.1219, allocations: 219.2 kB / 0.4927 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004838/0.1224, allocations: 243 kB / 0.4929 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.1226, allocations: 43.94 kB / 0.493 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.1227, allocations: 48 kB / 0.493 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.1229, allocations: 99.67 kB / 0.4931 GB, free: 6.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004443/0.1233, allocations: 266.7 kB / 0.4934 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008921/0.1242, allocations: 0.564 MB / 0.4939 GB, free: 5.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1243, allocations: 0 / 0.4939 GB, free: 5.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.1243, allocations: 0 / 0.4939 GB, free: 5.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.76e-05/0.1243, allocations: 3.938 kB / 0.4939 GB, free: 5.566 MB / 382.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.001445/0.1257, allocations: 0.7708 MB / 0.4947 GB, free: 4.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1258, allocations: 11.89 kB / 0.4947 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.1259, allocations: 86.7 kB / 0.4948 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.1261, allocations: 60.56 kB / 0.4948 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.1266, allocations: 326.6 kB / 0.4951 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.1266, allocations: 33.38 kB / 0.4952 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.1268, allocations: 64.31 kB / 0.4952 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.1276, allocations: 438.7 kB / 0.4957 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/0.1276, allocations: 11.94 kB / 0.4957 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.526e-05/0.1277, allocations: 20 kB / 0.4957 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.1277, allocations: 12 kB / 0.4957 GB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005899/0.1283, allocations: 312.5 kB / 0.496 GB, free: 3.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.1303, allocations: 1.142 MB / 0.4971 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008062/0.1312, allocations: 493 kB / 0.4976 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.1315, allocations: 215 kB / 0.4978 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1315, allocations: 4.438 kB / 0.4978 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.1316, allocations: 42.94 kB / 0.4978 GB, free: 1.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.845e-06/0.1316, allocations: 48 / 0.4978 GB, free: 1.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.003392/0.135, allocations: 2.153 MB / 0.4999 GB, free: 15.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.1351, allocations: 89.67 kB / 0.5 GB, free: 14.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.1354, allocations: 255 kB / 0.5003 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.1354, allocations: 33.7 kB / 0.5003 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.1356, allocations: 221.4 kB / 0.5005 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.1358, allocations: 285.5 kB / 0.5008 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.136, allocations: 118.7 kB / 0.5009 GB, free: 14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1362, allocations: 354.7 kB / 0.5012 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.1365, allocations: 165.9 kB / 0.5014 GB, free: 13.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.1369, allocations: 276.9 kB / 0.5017 GB, free: 13.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006672/0.1375, allocations: 471.1 kB / 0.5021 GB, free: 12.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1375, allocations: 4 kB / 0.5021 GB, free: 12.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008858/0.1384, allocations: 0.575 MB / 0.5027 GB, free: 12.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1385, allocations: 4 kB / 0.5027 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1385, allocations: 4 kB / 0.5027 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.555e-05/0.1385, allocations: 8 kB / 0.5027 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.1391, allocations: 175.8 kB / 0.5028 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.1392, allocations: 7.938 kB / 0.5029 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.1394, allocations: 27.94 kB / 0.5029 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.1395, allocations: 32.22 kB / 0.5029 GB, free: 11.84 MB / 398.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.0002083/0.1397, allocations: 173.7 kB / 0.5031 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.151e-05/0.1398, allocations: 47.72 kB / 0.5031 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.1399, allocations: 59.64 kB / 0.5032 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1399, allocations: 7.938 kB / 0.5032 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.14, allocations: 4 kB / 0.5032 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.14, allocations: 7.922 kB / 0.5032 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.1421, allocations: 1.444 MB / 0.5046 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.1421, allocations: 4 kB / 0.5046 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000662/0.1427, allocations: 159.8 kB / 0.5048 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.1428, allocations: 4 kB / 0.5048 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.1428, allocations: 23.94 kB / 0.5048 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.1428, allocations: 8 kB / 0.5048 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.1428, allocations: 4 kB / 0.5048 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.144, allocations: 0.9161 MB / 0.5057 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.1442, allocations: 124.8 kB / 0.5058 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.1442, allocations: 12 kB / 0.5058 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.1445, allocations: 27.92 kB / 0.5059 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/0.1446, allocations: 48.38 kB / 0.5059 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.1447, allocations: 23.94 kB / 0.5059 GB, free: 8.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.1448, allocations: 178 kB / 0.5061 GB, free: 8.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1448, allocations: 0 / 0.5061 GB, free: 8.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000544/0.1454, allocations: 144 kB / 0.5062 GB, free: 8.254 MB / 398.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.001553/0.147, allocations: 1.468 MB / 0.5077 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007794/0.1478, allocations: 459.9 kB / 0.5081 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.1478, allocations: 8.125 kB / 0.5081 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003392/0.1481, allocations: 238.2 kB / 0.5083 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008908/0.149, allocations: 132.6 kB / 0.5085 GB, free: 5.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/0.1554, allocations: 4.777 MB / 0.5131 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/0.156, allocations: 0.8524 MB / 0.514 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002355/0.1562, allocations: 60.66 kB / 0.514 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.1565, allocations: 163.4 kB / 0.5142 GB, free: 15.8 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1565, allocations: 0 / 0.5142 GB, free: 15.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.193, allocations: 9.905 MB / 0.5239 GB, free: 5.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.964/9.157, allocations: 7.938 kB / 0.5239 GB, free: 5.891 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > 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