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.001283/0.001283, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001239/0.001239, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2171/0.2171, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 59.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3443, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005055/0.3495, allocations: 3.276 MB / 0.5216 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.3513, allocations: 0.8074 MB / 0.5224 GB, free: 368 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004193/0.3518, allocations: 12.5 kB / 0.5224 GB, free: 364 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.3521, allocations: 71.89 kB / 0.5225 GB, free: 316 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.3526, allocations: 178.1 kB / 0.5226 GB, free: 184 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.353, allocations: 111 kB / 0.5228 GB, free: 116 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000886/0.3539, allocations: 0.5917 MB / 0.5233 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.3543, allocations: 164.9 kB / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.3546, allocations: 236.2 kB / 0.5237 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.355, allocations: 239.2 kB / 0.5239 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.353e-05/0.3551, allocations: 42.72 kB / 0.524 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3552, allocations: 43.94 kB / 0.524 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3553, allocations: 99.5 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.3556, allocations: 263 kB / 0.5244 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007688/0.3564, allocations: 0.5648 MB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.3564, allocations: 4.75 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3564, allocations: 1.469 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.3564, allocations: 0 / 0.5249 GB, free: 15.05 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.001217/0.3576, allocations: 0.769 MB / 0.5257 GB, free: 14.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3577, allocations: 9.469 kB / 0.5257 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.887e-05/0.3578, allocations: 89.84 kB / 0.5258 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.3579, allocations: 57.59 kB / 0.5258 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.3584, allocations: 322.3 kB / 0.5261 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.3585, allocations: 37.09 kB / 0.5262 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.72e-05/0.3586, allocations: 53.94 kB / 0.5262 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000806/0.3594, allocations: 434.8 kB / 0.5266 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.3594, allocations: 21.14 kB / 0.5267 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.3595, allocations: 16.12 kB / 0.5267 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.3595, allocations: 11 kB / 0.5267 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000522/0.36, allocations: 312.4 kB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.3618, allocations: 1.143 MB / 0.5281 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007774/0.3626, allocations: 499.6 kB / 0.5286 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.3629, allocations: 215.1 kB / 0.5288 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3629, allocations: 5.969 kB / 0.5288 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.363, allocations: 50.61 kB / 0.5288 GB, free: 12.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.795e-06/0.363, allocations: 0 / 0.5288 GB, free: 12.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.00325/0.3662, allocations: 2.138 MB / 0.5309 GB, free: 10.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.3663, allocations: 85.02 kB / 0.531 GB, free: 10.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.3666, allocations: 259.6 kB / 0.5313 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.3666, allocations: 36.64 kB / 0.5313 GB, free: 10.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.3668, allocations: 212 kB / 0.5315 GB, free: 10.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.367, allocations: 280.7 kB / 0.5318 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.3672, allocations: 121.8 kB / 0.5319 GB, free: 9.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3674, allocations: 361.8 kB / 0.5322 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.3676, allocations: 154.7 kB / 0.5324 GB, free: 9.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.368, allocations: 276.8 kB / 0.5326 GB, free: 9.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006423/0.3686, allocations: 483 kB / 0.5331 GB, free: 9.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3686, allocations: 1.344 kB / 0.5331 GB, free: 9.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008232/0.3695, allocations: 0.5748 MB / 0.5337 GB, free: 8.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3695, allocations: 6.219 kB / 0.5337 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3695, allocations: 3.25 kB / 0.5337 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.381e-05/0.3695, allocations: 6.375 kB / 0.5337 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/0.3701, allocations: 172.5 kB / 0.5338 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.3702, allocations: 9.875 kB / 0.5338 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.3705, allocations: 34.58 kB / 0.5339 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.3705, allocations: 26.53 kB / 0.5339 GB, free: 8.707 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.0002178/0.3707, allocations: 171.7 kB / 0.5341 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.3708, allocations: 50.12 kB / 0.5341 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.371, allocations: 55.52 kB / 0.5342 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.371, allocations: 11.84 kB / 0.5342 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.371, allocations: 0 / 0.5342 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.371, allocations: 17.05 kB / 0.5342 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.373, allocations: 1.442 MB / 0.5356 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3731, allocations: 3.25 kB / 0.5356 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006265/0.3737, allocations: 154.1 kB / 0.5358 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.3737, allocations: 5.594 kB / 0.5358 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/0.3738, allocations: 27.64 kB / 0.5358 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.3738, allocations: 6.281 kB / 0.5358 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.3738, allocations: 7.312 kB / 0.5358 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.375, allocations: 0.9018 MB / 0.5367 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3751, allocations: 127.2 kB / 0.5368 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.807e-05/0.3752, allocations: 15.66 kB / 0.5368 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.3755, allocations: 23.03 kB / 0.5368 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.3756, allocations: 51.44 kB / 0.5369 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.3756, allocations: 28.75 kB / 0.5369 GB, free: 6.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001784/0.3758, allocations: 180.2 kB / 0.5371 GB, free: 6.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3758, allocations: 0 / 0.5371 GB, free: 6.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006071/0.3764, allocations: 144 kB / 0.5372 GB, free: 6.344 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.001625/0.3781, allocations: 1.473 MB / 0.5387 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008945/0.379, allocations: 465.8 kB / 0.5391 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.379, allocations: 0 / 0.5391 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.3793, allocations: 234.9 kB / 0.5393 GB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009158/0.3803, allocations: 138.1 kB / 0.5395 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006395/0.3867, allocations: 4.782 MB / 0.5441 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.3872, allocations: 0.8407 MB / 0.5449 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002505/0.3875, allocations: 64.64 kB / 0.545 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.3877, allocations: 167.4 kB / 0.5452 GB, free: 15.7 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3877, allocations: 0 / 0.5452 GB, free: 15.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/0.4208, allocations: 9.89 MB / 0.5548 GB, free: 6.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.908/9.329, allocations: 19.83 kB / 0.5548 GB, free: 6.004 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