Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000994/0.0009979, allocations: 199.3 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007832/0.0007832, allocations: 104 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2967/0.2967, allocations: 44.82 MB / 393 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002331/0.0002331, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2703, allocations: 62.95 MB / 0.5165 GB, free: 37.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.3735, allocations: 89.31 MB / 0.6037 GB, free: 88 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.3737, allocations: 75.95 kB / 0.6038 GB, free: 12 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02317/0.3969, allocations: 8.834 MB / 0.6124 GB, free: 7.141 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3969, allocations: 0 / 0.6124 GB, free: 7.141 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.3969, allocations: 8 kB / 0.6124 GB, free: 7.133 MB / 426.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.000872/0.3978, allocations: 0.6665 MB / 0.613 GB, free: 6.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3979, allocations: 8.031 kB / 0.613 GB, free: 6.402 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.102e-05/0.3979, allocations: 60.28 kB / 0.6131 GB, free: 6.344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.3983, allocations: 298.5 kB / 0.6134 GB, free: 6.016 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.3983, allocations: 41.38 kB / 0.6134 GB, free: 5.977 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-05/0.3984, allocations: 56.28 kB / 0.6135 GB, free: 5.922 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006322/0.399, allocations: 431.4 kB / 0.6139 GB, free: 5.484 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.3991, allocations: 8.094 kB / 0.6139 GB, free: 5.477 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.3991, allocations: 27.88 kB / 0.6139 GB, free: 5.449 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.3991, allocations: 12 kB / 0.6139 GB, free: 5.438 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.3996, allocations: 308.5 kB / 0.6142 GB, free: 5.137 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.4011, allocations: 1.173 MB / 0.6154 GB, free: 3.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006343/0.4018, allocations: 481.1 kB / 0.6158 GB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.402, allocations: 210 kB / 0.616 GB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.4021, allocations: 4.438 kB / 0.616 GB, free: 3.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.4021, allocations: 50.98 kB / 0.6161 GB, free: 3.121 MB / 426.7 MB Notification: Performance of pre-optimization done (n=62): time 2.324e-06/0.4021, allocations: 224 / 0.6161 GB, free: 3.121 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.002773/0.4049, allocations: 2.131 MB / 0.6182 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.405, allocations: 85.67 kB / 0.6183 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.4052, allocations: 255 kB / 0.6185 GB, free: 480 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.4053, allocations: 33.7 kB / 0.6185 GB, free: 440 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.4054, allocations: 217 kB / 0.6187 GB, free: 220 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.4056, allocations: 272.1 kB / 0.619 GB, free: 15.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.4056, allocations: 12 kB / 0.619 GB, free: 15.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4058, allocations: 358.7 kB / 0.6193 GB, free: 15.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.406, allocations: 157.9 kB / 0.6195 GB, free: 15.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.4063, allocations: 272.9 kB / 0.6198 GB, free: 15.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/0.4069, allocations: 461.5 kB / 0.6202 GB, free: 14.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.4069, allocations: 4 kB / 0.6202 GB, free: 14.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007558/0.4077, allocations: 0.563 MB / 0.6208 GB, free: 14.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4077, allocations: 8 kB / 0.6208 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4077, allocations: 0 / 0.6208 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4078, allocations: 8 kB / 0.6208 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.4083, allocations: 175.8 kB / 0.6209 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.4083, allocations: 15.92 kB / 0.6209 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.4086, allocations: 23.98 kB / 0.621 GB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.4087, allocations: 32.22 kB / 0.621 GB, free: 13.8 MB / 442.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.0001903/0.4089, allocations: 181.6 kB / 0.6212 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-05/0.409, allocations: 47.44 kB / 0.6212 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.4091, allocations: 55.64 kB / 0.6213 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.4091, allocations: 8 kB / 0.6213 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4091, allocations: 0 / 0.6213 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.4091, allocations: 3.984 kB / 0.6213 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.4109, allocations: 1.451 MB / 0.6227 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4109, allocations: 8.031 kB / 0.6227 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000588/0.4115, allocations: 155.8 kB / 0.6229 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.4116, allocations: 8 kB / 0.6229 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.4116, allocations: 20 kB / 0.6229 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.4116, allocations: 7.938 kB / 0.6229 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4116, allocations: 4 kB / 0.6229 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009801/0.4126, allocations: 0.8998 MB / 0.6238 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.4127, allocations: 120.5 kB / 0.6239 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.4128, allocations: 27.86 kB / 0.6239 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.413, allocations: 20.06 kB / 0.6239 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.4131, allocations: 44.38 kB / 0.624 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.4131, allocations: 24 kB / 0.624 GB, free: 10.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001549/0.4133, allocations: 178 kB / 0.6242 GB, free: 10.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4133, allocations: 0 / 0.6242 GB, free: 10.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005023/0.4138, allocations: 156.1 kB / 0.6243 GB, free: 10.21 MB / 442.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.0001471/0.414, allocations: 127.5 kB / 0.6244 GB, free: 10.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006638/0.4146, allocations: 458.8 kB / 0.6249 GB, free: 9.637 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4147, allocations: 0 / 0.6249 GB, free: 9.637 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.415, allocations: 238.2 kB / 0.6251 GB, free: 9.406 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008642/0.4158, allocations: 110.3 kB / 0.6252 GB, free: 9.305 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.4185, allocations: 2.052 MB / 0.6272 GB, free: 7.176 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.4189, allocations: 0.8527 MB / 0.628 GB, free: 6.297 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.4191, allocations: 47.44 kB / 0.6281 GB, free: 6.254 MB / 442.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4191, allocations: 0 / 0.6281 GB, free: 6.254 MB / 442.7 MB Notification: Performance of Templates: time 0.008607/0.4277, allocations: 5.857 MB / 0.6338 GB, free: 440 kB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches