Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01086/0.01086, allocations: 104.5 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.00117/0.00117, allocations: 171.8 kB / 15.93 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.61/1.61, allocations: 170.9 MB / 187.5 MB, free: 1.008 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2758/0.2758, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.0004672, allocations: 8 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08935/0.08986, allocations: 48.72 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.006453/0.09636, allocations: 2.522 MB / 374.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.09953, allocations: 0.8227 MB / 375.6 MB, free: 9.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003757/0.09997, allocations: 15.94 kB / 375.7 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.1002, allocations: 39.62 kB / 375.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.1012, allocations: 199.4 kB / 375.9 MB, free: 9.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.1017, allocations: 83.89 kB / 376 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001147/0.1029, allocations: 427.1 kB / 376.4 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.1034, allocations: 128.9 kB / 376.5 MB, free: 8.613 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003438/0.1038, allocations: 191.3 kB / 376.7 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.1041, allocations: 207.1 kB / 376.9 MB, free: 8.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.471e-05/0.1042, allocations: 24 kB / 376.9 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1043, allocations: 24 kB / 376.9 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.631e-05/0.1044, allocations: 79.67 kB / 377 MB, free: 8.098 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1046, allocations: 125.5 kB / 377.1 MB, free: 7.969 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.1051, allocations: 406.7 kB / 377.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1052, allocations: 0 / 377.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1052, allocations: 0 / 377.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1052, allocations: 0 / 377.5 MB, free: 7.57 MB / 282.7 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.001419/0.1066, allocations: 0.6782 MB / 378.2 MB, free: 6.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1067, allocations: 8.031 kB / 378.2 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.1068, allocations: 86.52 kB / 378.3 MB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.1069, allocations: 55.34 kB / 378.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.1075, allocations: 317.3 kB / 378.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.1075, allocations: 29 kB / 378.7 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.1077, allocations: 55.91 kB / 378.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.1088, allocations: 434.5 kB / 379.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/0.1088, allocations: 7.906 kB / 379.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.1089, allocations: 20 kB / 379.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.1089, allocations: 12 kB / 379.2 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008607/0.1098, allocations: 308.5 kB / 379.5 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.1123, allocations: 1.157 MB / 380.7 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.1135, allocations: 477.2 kB / 381.2 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.1135, allocations: 8.656 kB / 381.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.1136, allocations: 46.89 kB / 381.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=62): time 3.396e-06/0.1136, allocations: 4.031 kB / 381.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.004619/0.1182, allocations: 2.136 MB / 383.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.1183, allocations: 81.67 kB / 383.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.1187, allocations: 247 kB / 383.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.1187, allocations: 37.7 kB / 383.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.1189, allocations: 216.9 kB / 383.9 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.1192, allocations: 264 kB / 384.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.1193, allocations: 16 kB / 384.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1194, allocations: 362.7 kB / 384.5 MB, free: 140 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.1199, allocations: 157.9 kB / 384.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/0.1205, allocations: 272.8 kB / 385 MB, free: 15.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.121, allocations: 195.2 kB / 385.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.121, allocations: 0 / 385.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001364/0.1224, allocations: 0.5631 MB / 385.7 MB, free: 14.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.1224, allocations: 11.94 kB / 385.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.1224, allocations: 4 kB / 385.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.1225, allocations: 4 kB / 385.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.1237, allocations: 179.9 kB / 385.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/0.1237, allocations: 11.98 kB / 385.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.1242, allocations: 27.94 kB / 386 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/0.1242, allocations: 24.16 kB / 386 MB, free: 14.66 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002873/0.1245, allocations: 186.6 kB / 386.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.1247, allocations: 43.44 kB / 386.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.1248, allocations: 59.64 kB / 386.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.1248, allocations: 8 kB / 386.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1249, allocations: 0 / 386.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.1249, allocations: 7.984 kB / 386.3 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/0.1279, allocations: 1.446 MB / 387.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.1279, allocations: 4.344 kB / 387.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.1292, allocations: 163.8 kB / 387.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/0.1292, allocations: 7.984 kB / 387.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/0.1293, allocations: 20 kB / 387.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.381e-05/0.1293, allocations: 8 kB / 387.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1293, allocations: 0 / 387.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.1312, allocations: 1.049 MB / 389 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.1314, allocations: 112.6 kB / 389.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.994e-05/0.1315, allocations: 20 kB / 389.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.132, allocations: 15.98 kB / 389.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.1321, allocations: 60.27 kB / 389.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.1322, allocations: 20 kB / 389.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002454/0.1325, allocations: 170 kB / 389.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1325, allocations: 0 / 389.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007461/0.1332, allocations: 148 kB / 389.5 MB, free: 10.88 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002418/0.1357, allocations: 2.446 MB / 391.9 MB, free: 8.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.1369, allocations: 443.6 kB / 392.4 MB, free: 7.891 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.1369, allocations: 4.5 kB / 392.4 MB, free: 7.887 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.1374, allocations: 238.2 kB / 392.6 MB, free: 7.652 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.1385, allocations: 93.5 kB / 392.7 MB, free: 7.562 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007943/0.1465, allocations: 5.13 MB / 397.8 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.147, allocations: 0.8566 MB / 398.7 MB, free: 1.406 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003686/0.1474, allocations: 60.66 kB / 398.8 MB, free: 1.344 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.1478, allocations: 163.4 kB / 398.9 MB, free: 1.188 MB / 298.7 MB Notification: Performance of SimCode: time 3.948e-06/0.1478, allocations: 0 / 398.9 MB, free: 1.188 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.1847, allocations: 9.016 MB / 407.9 MB, free: 8.289 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003695/0.1851, allocations: 200 kB / 408.1 MB, free: 8.047 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/2.84, allocations: 0 / 408.1 MB, free: 8.047 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat