Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.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) 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(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001068, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.302e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09721, allocations: 47.57 MB / 369.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4191/0.5164, allocations: 78.25 MB / 447.3 MB, free: 14.97 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.5167, allocations: 74.89 kB / 447.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0274/0.5442, allocations: 5.749 MB / 453.2 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5442, allocations: 0 / 453.2 MB, free: 10 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.5443, allocations: 11.44 kB / 453.2 MB, free: 9.996 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001502/0.5458, allocations: 0.5649 MB / 453.7 MB, free: 9.398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5458, allocations: 12.03 kB / 453.7 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.546, allocations: 31.62 kB / 453.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.5464, allocations: 266.2 kB / 454 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.5465, allocations: 23.67 kB / 454.1 MB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.5466, allocations: 26 kB / 454.1 MB, free: 9.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006514/0.5472, allocations: 260.9 kB / 454.3 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.5472, allocations: 0 / 454.3 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.5473, allocations: 10.56 kB / 454.3 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.5473, allocations: 4 kB / 454.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005137/0.5478, allocations: 172.4 kB / 454.5 MB, free: 8.746 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/0.5505, allocations: 1.113 MB / 455.6 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005631/0.5511, allocations: 139.8 kB / 455.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.5513, allocations: 55.42 kB / 455.8 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.5513, allocations: 4.219 kB / 455.8 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003341/0.5517, allocations: 132.8 kB / 456 MB, free: 7.438 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.474e-06/0.5517, allocations: 0 / 456 MB, free: 7.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009757/0.5527, allocations: 204.3 kB / 456.2 MB, free: 7.262 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.5528, allocations: 106.8 kB / 456.3 MB, free: 7.137 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.5532, allocations: 249.3 kB / 456.5 MB, free: 6.934 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.5533, allocations: 33.64 kB / 456.5 MB, free: 6.895 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.5535, allocations: 256.1 kB / 456.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.5535, allocations: 43.08 kB / 456.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.5536, allocations: 3.875 kB / 456.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5537, allocations: 322.8 kB / 457.1 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.5539, allocations: 59.22 kB / 457.2 MB, free: 6.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.5542, allocations: 157.2 kB / 457.4 MB, free: 6.094 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.5545, allocations: 108.8 kB / 457.5 MB, free: 6.004 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5545, allocations: 0 / 457.5 MB, free: 6.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00116/0.5557, allocations: 329.6 kB / 457.8 MB, free: 5.727 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.235e-05/0.5557, allocations: 33.7 kB / 457.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5558, allocations: 4 kB / 457.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003192/0.5561, allocations: 63.86 kB / 457.9 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.5565, allocations: 47.91 kB / 457.9 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.5589, allocations: 1.524 MB / 459.5 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/0.5596, allocations: 63.41 kB / 459.5 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.5597, allocations: 8 kB / 459.5 MB, free: 3.988 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.5598, allocations: 121.5 kB / 459.6 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.5599, allocations: 23.72 kB / 459.7 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.564e-05/0.56, allocations: 25.14 kB / 459.7 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.56, allocations: 8 kB / 459.7 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.56, allocations: 3.953 kB / 459.7 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5601, allocations: 3.984 kB / 459.7 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/0.5605, allocations: 299.3 kB / 460 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5605, allocations: 0 / 460 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.5607, allocations: 27.84 kB / 460 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002396/0.561, allocations: 56.2 kB / 460.1 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.561, allocations: 4.062 kB / 460.1 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.5632, allocations: 1.499 MB / 461.6 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5633, allocations: 3.953 kB / 461.6 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009318/0.5642, allocations: 235.3 kB / 461.8 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.5644, allocations: 111.1 kB / 461.9 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/0.5645, allocations: 11.42 kB / 461.9 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.565, allocations: 31.97 kB / 462 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.5651, allocations: 26.53 kB / 462 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.5652, allocations: 7.922 kB / 462 MB, free: 1.543 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003133/0.5655, allocations: 195.9 kB / 462.2 MB, free: 1.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.996e-06/0.5655, allocations: 0 / 462.2 MB, free: 1.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005068/0.566, allocations: 87.78 kB / 462.3 MB, free: 1.305 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001876/0.5662, allocations: 96.19 kB / 462.4 MB, free: 1.199 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008125/0.567, allocations: 342.3 kB / 462.7 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5671, allocations: 0 / 462.7 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.5674, allocations: 182.5 kB / 462.9 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.5678, allocations: 42.08 kB / 462.9 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009652/0.5688, allocations: 313.5 kB / 463.2 MB, free: 280 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.5692, allocations: 0.7599 MB / 464 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.5694, allocations: 19.44 kB / 464 MB, free: 15.46 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5694, allocations: 0 / 464 MB, free: 15.46 MB / 346.7 MB Notification: Performance of Templates: time 0.01043/0.5798, allocations: 4.267 MB / 468.3 MB, free: 11.2 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches