Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_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.001455/0.001454, allocations: 113.8 kB / 17.77 MB, free: 5.367 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.002236/0.002236, allocations: 183.1 kB / 18.7 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2454/0.2454, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4228, allocations: 60.83 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004775/0.4276, allocations: 3.271 MB / 0.5216 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.4296, allocations: 0.7993 MB / 0.5224 GB, free: 376 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005092/0.4302, allocations: 11.16 kB / 0.5224 GB, free: 372 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.4305, allocations: 73.47 kB / 0.5225 GB, free: 324 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005903/0.4311, allocations: 175.4 kB / 0.5226 GB, free: 192 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.4316, allocations: 107.6 kB / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001147/0.4328, allocations: 0.5878 MB / 0.5233 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/0.4333, allocations: 180.5 kB / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005858/0.4339, allocations: 211 kB / 0.5237 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/0.4344, allocations: 242.3 kB / 0.5239 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.4345, allocations: 44.03 kB / 0.524 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.4347, allocations: 42.94 kB / 0.524 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.4348, allocations: 106.4 kB / 0.5241 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004302/0.4352, allocations: 267.7 kB / 0.5244 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.4364, allocations: 0.5611 MB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.4364, allocations: 1.469 kB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.4364, allocations: 0 / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.445e-05/0.4364, allocations: 4 kB / 0.5249 GB, free: 15.06 MB / 398.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.001762/0.4382, allocations: 0.7708 MB / 0.5257 GB, free: 14.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.4383, allocations: 10.06 kB / 0.5257 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.4384, allocations: 87.61 kB / 0.5257 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.4386, allocations: 65.39 kB / 0.5258 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007056/0.4393, allocations: 318.7 kB / 0.5261 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.4394, allocations: 36.62 kB / 0.5262 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/0.4395, allocations: 54.5 kB / 0.5262 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008633/0.4403, allocations: 438.9 kB / 0.5266 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.4404, allocations: 11.97 kB / 0.5266 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.4404, allocations: 20.12 kB / 0.5267 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.4405, allocations: 16.38 kB / 0.5267 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/0.4411, allocations: 315.3 kB / 0.527 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.4435, allocations: 1.135 MB / 0.5281 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009325/0.4444, allocations: 0.4889 MB / 0.5286 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.4448, allocations: 210.1 kB / 0.5288 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.4449, allocations: 11.05 kB / 0.5288 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.4449, allocations: 46 kB / 0.5288 GB, free: 12.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 3.606e-06/0.4449, allocations: 0 / 0.5288 GB, free: 12.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.003818/0.4487, allocations: 2.139 MB / 0.5309 GB, free: 10.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/0.4489, allocations: 89.33 kB / 0.531 GB, free: 10.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.4492, allocations: 259.8 kB / 0.5312 GB, free: 10.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.4493, allocations: 39.73 kB / 0.5313 GB, free: 10.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.4495, allocations: 212.9 kB / 0.5315 GB, free: 10.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.4498, allocations: 283.8 kB / 0.5317 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.4499, allocations: 115.1 kB / 0.5319 GB, free: 10.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.4502, allocations: 360.7 kB / 0.5322 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.4505, allocations: 159.2 kB / 0.5323 GB, free: 9.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.4509, allocations: 273.5 kB / 0.5326 GB, free: 9.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007555/0.4516, allocations: 486.9 kB / 0.5331 GB, free: 9.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.4516, allocations: 0 / 0.5331 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001037/0.4527, allocations: 0.5632 MB / 0.5336 GB, free: 8.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.4527, allocations: 7.281 kB / 0.5336 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.4528, allocations: 2.125 kB / 0.5336 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.4528, allocations: 6.969 kB / 0.5336 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.4534, allocations: 180.2 kB / 0.5338 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.155e-05/0.4535, allocations: 14.14 kB / 0.5338 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.4539, allocations: 25.59 kB / 0.5338 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/0.4539, allocations: 26.98 kB / 0.5339 GB, free: 8.738 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.0003172/0.4543, allocations: 180.4 kB / 0.534 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.4545, allocations: 46.31 kB / 0.5341 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.4546, allocations: 54.14 kB / 0.5341 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.4547, allocations: 7.688 kB / 0.5341 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/0.4547, allocations: 13.06 kB / 0.5342 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.4547, allocations: 9.047 kB / 0.5342 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/0.4573, allocations: 1.439 MB / 0.5356 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.4573, allocations: 2.75 kB / 0.5356 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006744/0.458, allocations: 158.3 kB / 0.5357 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/0.4581, allocations: 5.562 kB / 0.5357 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.4581, allocations: 27.2 kB / 0.5358 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.4581, allocations: 10.28 kB / 0.5358 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4582, allocations: 3.875 kB / 0.5358 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.4596, allocations: 0.9061 MB / 0.5367 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.4599, allocations: 123 kB / 0.5368 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-05/0.46, allocations: 23 kB / 0.5368 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.4603, allocations: 19.11 kB / 0.5368 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.954e-05/0.4604, allocations: 55.27 kB / 0.5369 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.4605, allocations: 28.52 kB / 0.5369 GB, free: 6.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.4607, allocations: 172 kB / 0.5371 GB, free: 6.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4607, allocations: 0 / 0.5371 GB, free: 6.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007424/0.4615, allocations: 152.2 kB / 0.5372 GB, free: 6.363 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.001922/0.4634, allocations: 1.465 MB / 0.5386 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.4645, allocations: 466.4 kB / 0.5391 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4645, allocations: 0 / 0.5391 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004025/0.4649, allocations: 240.5 kB / 0.5393 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.4661, allocations: 124.7 kB / 0.5394 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008509/0.4746, allocations: 4.781 MB / 0.5441 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007327/0.4754, allocations: 0.8446 MB / 0.5449 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004064/0.4758, allocations: 60.66 kB / 0.545 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.4761, allocations: 163.4 kB / 0.5451 GB, free: 15.74 MB / 414.1 MB Notification: Performance of SimCode: time 2.144e-06/0.4762, allocations: 0 / 0.5451 GB, free: 15.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04351/0.5197, allocations: 9.911 MB / 0.5548 GB, free: 6.035 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.275/9.795, allocations: 7.312 kB / 0.5548 GB, free: 6.031 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches