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.001055/0.001055, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 178.5 kB / 16.57 MB, free: 6.844 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.575/1.575, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3191/0.3191, allocations: 43.54 MB / 314.5 MB, free: 9.039 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.000471/0.000471, allocations: 12 kB / 383.9 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.12, allocations: 58.85 MB / 442.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003184/0.1232, allocations: 2.575 MB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1245, allocations: 0.8587 MB / 446.2 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.1247, allocations: 11.94 kB / 446.2 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.229e-05/0.1248, allocations: 51.55 kB / 446.2 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.1251, allocations: 203.4 kB / 446.4 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.1253, allocations: 79.91 kB / 446.5 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004278/0.1257, allocations: 423.1 kB / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.126, allocations: 132.6 kB / 447.1 MB, free: 8.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.1262, allocations: 179.4 kB / 447.2 MB, free: 8.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.1265, allocations: 211.1 kB / 447.4 MB, free: 8.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.1265, allocations: 28 kB / 447.5 MB, free: 8.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.111e-05/0.1266, allocations: 24 kB / 447.5 MB, free: 8.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.1267, allocations: 83.61 kB / 447.6 MB, free: 8.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1268, allocations: 121.5 kB / 447.7 MB, free: 8.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.1272, allocations: 398.8 kB / 448.1 MB, free: 7.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1272, allocations: 0 / 448.1 MB, free: 7.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1272, allocations: 0 / 448.1 MB, free: 7.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1272, allocations: 0 / 448.1 MB, free: 7.93 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.001003/0.1282, allocations: 0.6859 MB / 448.8 MB, free: 7.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.1283, allocations: 8.031 kB / 448.8 MB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.705e-05/0.1284, allocations: 55.34 kB / 448.8 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.1288, allocations: 305.3 kB / 449.1 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.1288, allocations: 37 kB / 449.2 MB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-05/0.1289, allocations: 55.91 kB / 449.2 MB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006581/0.1296, allocations: 430.5 kB / 449.6 MB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.1296, allocations: 11.91 kB / 449.7 MB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.1297, allocations: 16 kB / 449.7 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.1297, allocations: 15.95 kB / 449.7 MB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/0.1302, allocations: 312.5 kB / 450 MB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.1317, allocations: 1.161 MB / 451.1 MB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006505/0.1323, allocations: 493 kB / 451.6 MB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1324, allocations: 8.438 kB / 451.6 MB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.1324, allocations: 47.02 kB / 451.7 MB, free: 4.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.713e-06/0.1324, allocations: 0 / 451.7 MB, free: 4.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002756/0.1352, allocations: 2.119 MB / 453.8 MB, free: 1.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.1353, allocations: 85.67 kB / 453.9 MB, free: 1.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.1355, allocations: 251 kB / 454.1 MB, free: 1.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.1355, allocations: 41.7 kB / 454.2 MB, free: 1.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.1357, allocations: 205 kB / 454.4 MB, free: 1.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.1358, allocations: 268 kB / 454.6 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.1359, allocations: 16 kB / 454.7 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.136, allocations: 358.8 kB / 455 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.1363, allocations: 161.9 kB / 455.2 MB, free: 428 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.1366, allocations: 268.9 kB / 455.4 MB, free: 124 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1854/0.322, allocations: 194.2 kB / 455.6 MB, free: 46.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.3221, allocations: 2.594 kB / 455.6 MB, free: 46.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008892/0.323, allocations: 0.5558 MB / 456.2 MB, free: 46.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.323, allocations: 5.906 kB / 456.2 MB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.323, allocations: 4.531 kB / 456.2 MB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.3231, allocations: 14.16 kB / 456.2 MB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/0.3236, allocations: 173.1 kB / 456.4 MB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.3236, allocations: 15.48 kB / 456.4 MB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.3239, allocations: 21.88 kB / 456.4 MB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.324, allocations: 25.97 kB / 456.4 MB, free: 46.07 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.3241, allocations: 177.9 kB / 456.6 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.3242, allocations: 53.19 kB / 456.7 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.356e-05/0.3243, allocations: 57 kB / 456.7 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.3243, allocations: 7.875 kB / 456.7 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.3243, allocations: 6.625 kB / 456.7 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.3243, allocations: 5 kB / 456.7 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.3258, allocations: 1.446 MB / 458.2 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3259, allocations: 6.578 kB / 458.2 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005452/0.3264, allocations: 155.9 kB / 458.3 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.3264, allocations: 5.719 kB / 458.3 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.3265, allocations: 19.44 kB / 458.4 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.3265, allocations: 6 kB / 458.4 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3265, allocations: 7.938 kB / 458.4 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008844/0.3274, allocations: 1.041 MB / 459.4 MB, free: 44.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.3274, allocations: 122.6 kB / 459.5 MB, free: 44.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.3275, allocations: 20.12 kB / 459.5 MB, free: 44.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.3278, allocations: 16.73 kB / 459.6 MB, free: 44.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.3278, allocations: 55.2 kB / 459.6 MB, free: 44.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.3278, allocations: 25.42 kB / 459.6 MB, free: 44.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.328, allocations: 174.2 kB / 459.8 MB, free: 44.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.328, allocations: 0 / 459.8 MB, free: 44.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004453/0.3284, allocations: 146.2 kB / 460 MB, free: 44.65 MB / 382.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 (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.0001254/0.3285, allocations: 124.1 kB / 460.1 MB, free: 44.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005186/0.3291, allocations: 446.7 kB / 460.5 MB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3291, allocations: 1.188 kB / 460.5 MB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.3293, allocations: 239.4 kB / 460.7 MB, free: 44.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.33, allocations: 101.4 kB / 460.8 MB, free: 44.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.3321, allocations: 2.044 MB / 462.9 MB, free: 43.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3324, allocations: 0.857 MB / 463.7 MB, free: 42.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000184/0.3326, allocations: 61.23 kB / 463.8 MB, free: 42.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.095e-05/0.3327, allocations: 45.72 kB / 463.9 MB, free: 42.44 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3327, allocations: 0 / 463.9 MB, free: 42.44 MB / 382.1 MB Notification: Performance of Templates: time 0.007349/0.3401, allocations: 4.797 MB / 468.7 MB, free: 42.1 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/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