Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001643, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 90.31 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.391/0.391, allocations: 43.49 MB / 353.6 MB, free: 2.25 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.075e-05/2.085e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3953, allocations: 58.86 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.5731, allocations: 95.44 MB / 0.5591 GB, free: 3.832 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.5733, allocations: 63.97 kB / 0.5592 GB, free: 3.77 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1461/0.7195, allocations: 29.16 MB / 0.5876 GB, free: 6.508 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7195, allocations: 3.938 kB / 0.5876 GB, free: 6.504 MB / 427.1 MB Notification: Performance of Transformations before backend: time 0.000116/0.7196, allocations: 24.38 kB / 0.5877 GB, free: 6.48 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003291/0.7229, allocations: 0.9585 MB / 0.5886 GB, free: 5.477 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.723, allocations: 8.031 kB / 0.5886 GB, free: 5.469 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.7234, allocations: 94.88 kB / 0.5887 GB, free: 5.375 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.7254, allocations: 0.5861 MB / 0.5893 GB, free: 4.75 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.403e-05/0.7255, allocations: 19.95 kB / 0.5893 GB, free: 4.73 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.7257, allocations: 43.89 kB / 0.5893 GB, free: 4.688 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001095/0.7268, allocations: 326.5 kB / 0.5896 GB, free: 4.367 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.728, allocations: 497.8 kB / 0.5901 GB, free: 3.824 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.7281, allocations: 3.938 kB / 0.5901 GB, free: 3.82 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.7282, allocations: 4 kB / 0.5901 GB, free: 3.816 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.7282, allocations: 12 kB / 0.5901 GB, free: 3.805 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006155/0.7344, allocations: 2.569 MB / 0.5927 GB, free: 1.145 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.7354, allocations: 416.2 kB / 0.593 GB, free: 0.707 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.736, allocations: 195.1 kB / 0.5932 GB, free: 0.5078 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.314e-05/0.736, allocations: 8.172 kB / 0.5932 GB, free: 0.5 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.7361, allocations: 46.72 kB / 0.5933 GB, free: 456 kB / 427.1 MB Notification: Performance of pre-optimization done (n=45): time 2.575e-06/0.7361, allocations: 0 / 0.5933 GB, free: 456 kB / 427.1 MB Notification: Performance of matching and sorting (n=46): time 0.002354/0.7385, allocations: 0.7716 MB / 0.594 GB, free: 15.66 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.7386, allocations: 110.8 kB / 0.5941 GB, free: 15.53 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.7396, allocations: 499.8 kB / 0.5946 GB, free: 15.04 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.7398, allocations: 25.7 kB / 0.5946 GB, free: 15 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.7402, allocations: 371.1 kB / 0.595 GB, free: 14.64 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.7404, allocations: 173.4 kB / 0.5952 GB, free: 14.46 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.7405, allocations: 96 / 0.5952 GB, free: 14.46 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.7407, allocations: 343.8 kB / 0.5955 GB, free: 14.12 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005813/0.7413, allocations: 189.5 kB / 0.5957 GB, free: 13.94 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007584/0.742, allocations: 347.3 kB / 0.596 GB, free: 13.54 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.7429, allocations: 248.2 kB / 0.5962 GB, free: 13.29 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.7429, allocations: 3.781 kB / 0.5962 GB, free: 13.29 MB / 443.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001697/0.7446, allocations: 0.5671 MB / 0.5968 GB, free: 12.72 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008431/0.7455, allocations: 1.756 MB / 0.5985 GB, free: 10.83 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.7456, allocations: 4 kB / 0.5985 GB, free: 10.83 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.728e-05/0.7456, allocations: 8 kB / 0.5985 GB, free: 10.82 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/0.7477, allocations: 219.6 kB / 0.5987 GB, free: 10.61 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.7477, allocations: 4 kB / 0.5987 GB, free: 10.6 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.7489, allocations: 75.62 kB / 0.5988 GB, free: 10.53 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.749, allocations: 24 kB / 0.5988 GB, free: 10.5 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.7491, allocations: 7.938 kB / 0.5988 GB, free: 10.5 MB / 443.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001659/0.7507, allocations: 0.5266 MB / 0.5994 GB, free: 9.969 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.7508, allocations: 4 kB / 0.5994 GB, free: 9.965 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.7508, allocations: 8 kB / 0.5994 GB, free: 9.957 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.7527, allocations: 204.2 kB / 0.5996 GB, free: 9.758 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/0.7528, allocations: 8 kB / 0.5996 GB, free: 9.75 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007065/0.7535, allocations: 67.55 kB / 0.5996 GB, free: 9.684 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-05/0.7536, allocations: 28 kB / 0.5997 GB, free: 9.656 MB / 443.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0002384/0.7538, allocations: 120.8 kB / 0.5998 GB, free: 9.531 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/0.7542, allocations: 71.16 kB / 0.5998 GB, free: 9.461 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.7545, allocations: 79 kB / 0.5999 GB, free: 9.383 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.7545, allocations: 4 kB / 0.5999 GB, free: 9.379 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.7545, allocations: 11.94 kB / 0.5999 GB, free: 9.367 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.7545, allocations: 11.92 kB / 0.5999 GB, free: 9.355 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.7573, allocations: 1.111 MB / 0.601 GB, free: 8.195 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.7573, allocations: 4 kB / 0.601 GB, free: 8.191 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/0.7589, allocations: 115.9 kB / 0.6011 GB, free: 8.078 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.682e-05/0.7589, allocations: 4 kB / 0.6011 GB, free: 8.074 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.759, allocations: 8 kB / 0.6012 GB, free: 8.066 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.7591, allocations: 7.938 kB / 0.6012 GB, free: 8.059 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.7591, allocations: 0 / 0.6012 GB, free: 8.059 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.7612, allocations: 0.9995 MB / 0.6021 GB, free: 7.012 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005199/0.7618, allocations: 196.2 kB / 0.6023 GB, free: 6.801 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.7619, allocations: 4 kB / 0.6023 GB, free: 6.797 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.763, allocations: 55.94 kB / 0.6024 GB, free: 6.742 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.7632, allocations: 43.88 kB / 0.6024 GB, free: 6.699 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-05/0.7633, allocations: 12 kB / 0.6024 GB, free: 6.688 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.000751/0.7641, allocations: 383.1 kB / 0.6028 GB, free: 6.316 MB / 443.1 MB Notification: Performance of sort global known variables: time 6.22e-07/0.7641, allocations: 0 / 0.6028 GB, free: 6.316 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.001426/0.7655, allocations: 199.9 kB / 0.603 GB, free: 6.121 MB / 443.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.0004966/0.766, allocations: 147.1 kB / 0.6031 GB, free: 5.965 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.002179/0.7682, allocations: 0.7512 MB / 0.6039 GB, free: 5.215 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.7683, allocations: 0 / 0.6039 GB, free: 5.215 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006685/0.769, allocations: 219.8 kB / 0.6041 GB, free: 5 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.7707, allocations: 172.2 kB / 0.6042 GB, free: 4.84 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.7747, allocations: 1.227 MB / 0.6054 GB, free: 3.566 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008411/0.7756, allocations: 0.9656 MB / 0.6064 GB, free: 2.566 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005044/0.7761, allocations: 51.44 kB / 0.6064 GB, free: 2.516 MB / 443.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7762, allocations: 4 kB / 0.6064 GB, free: 2.512 MB / 443.1 MB Notification: Performance of Templates: time 0.02476/0.8009, allocations: 8.812 MB / 0.615 GB, free: 9.715 MB / 459.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches