Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 180 kB / 17.4 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.3 MB / 241.4 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008347/0.0008351, allocations: 93.2 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004622, allocations: 15.94 kB / 352.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3094, allocations: 50.4 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.4102, allocations: 79.13 MB / 481.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.4105, allocations: 79.95 kB / 482 MB, free: 1.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01441/0.4249, allocations: 5.339 MB / 487.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.425, allocations: 0 / 487.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.683e-05/0.425, allocations: 4 kB / 487.3 MB, free: 11.76 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00112/0.4261, allocations: 0.5813 MB / 487.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4262, allocations: 8.031 kB / 487.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.4263, allocations: 40.47 kB / 487.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/0.4269, allocations: 292.2 kB / 488.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.4269, allocations: 25.03 kB / 488.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/0.427, allocations: 32.38 kB / 488.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007305/0.4277, allocations: 349.5 kB / 488.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4278, allocations: 4.188 kB / 488.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.4278, allocations: 11.94 kB / 488.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.4278, allocations: 8 kB / 488.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/0.4285, allocations: 294.5 kB / 488.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.4307, allocations: 1.301 MB / 490.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008586/0.4316, allocations: 314.7 kB / 490.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.432, allocations: 176.8 kB / 490.7 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.4321, allocations: 8 kB / 490.7 MB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.4321, allocations: 31.72 kB / 490.8 MB, free: 8.102 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.244e-06/0.4321, allocations: 3.938 kB / 490.8 MB, free: 8.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.002578/0.4347, allocations: 0.9102 MB / 491.7 MB, free: 7.141 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.4348, allocations: 59.39 kB / 491.7 MB, free: 7.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.4351, allocations: 274.6 kB / 492 MB, free: 6.801 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.4351, allocations: 25.7 kB / 492 MB, free: 6.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.4353, allocations: 211.8 kB / 492.2 MB, free: 6.559 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.4353, allocations: 63.09 kB / 492.3 MB, free: 6.496 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.4354, allocations: 4 kB / 492.3 MB, free: 6.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4355, allocations: 338.8 kB / 492.6 MB, free: 6.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.4357, allocations: 103.9 kB / 492.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.436, allocations: 201.1 kB / 492.9 MB, free: 5.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.4366, allocations: 309.6 kB / 493.2 MB, free: 5.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.4366, allocations: 0 / 493.2 MB, free: 5.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001382/0.438, allocations: 0.5569 MB / 493.8 MB, free: 4.902 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.4381, allocations: 180.2 kB / 494 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4382, allocations: 8 kB / 494 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005536/0.4387, allocations: 145.6 kB / 494.1 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.4389, allocations: 67.78 kB / 494.2 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004852/0.4438, allocations: 3.47 MB / 497.6 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.4442, allocations: 55.61 kB / 497.7 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.4442, allocations: 12 kB / 497.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4442, allocations: 6.812 kB / 497.7 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008126/0.445, allocations: 369.4 kB / 498.1 MB, free: 284 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4451, allocations: 4 kB / 498.1 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/0.4453, allocations: 89.72 kB / 498.2 MB, free: 184 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.4455, allocations: 59.91 kB / 498.2 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.4483, allocations: 2.823 MB / 0.4893 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.4486, allocations: 31.77 kB / 0.4893 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.4486, allocations: 16 kB / 0.4893 GB, free: 12.98 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002627/0.4489, allocations: 217 kB / 0.4896 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.449, allocations: 23.72 kB / 0.4896 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.449, allocations: 34.17 kB / 0.4896 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.449, allocations: 4 kB / 0.4896 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.449, allocations: 4.062 kB / 0.4896 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4491, allocations: 3.984 kB / 0.4896 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.4508, allocations: 0.847 MB / 0.4904 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4508, allocations: 0 / 0.4904 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.451, allocations: 23.98 kB / 0.4905 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004959/0.4515, allocations: 153.6 kB / 0.4906 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.4515, allocations: 0 / 0.4906 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004763/0.4563, allocations: 3.462 MB / 0.494 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4563, allocations: 0 / 0.494 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.4578, allocations: 0.644 MB / 0.4946 GB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.458, allocations: 100.8 kB / 0.4947 GB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.458, allocations: 12 kB / 0.4947 GB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.4583, allocations: 31.92 kB / 0.4948 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.4584, allocations: 23.91 kB / 0.4948 GB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.4584, allocations: 8 kB / 0.4948 GB, free: 7.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002065/0.4586, allocations: 190 kB / 0.495 GB, free: 6.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4586, allocations: 4 kB / 0.495 GB, free: 6.832 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000771/0.4594, allocations: 163.5 kB / 0.4951 GB, free: 6.672 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001819/0.4596, allocations: 99.25 kB / 0.4952 GB, free: 6.562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.4613, allocations: 0.9277 MB / 0.4961 GB, free: 5.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4613, allocations: 0 / 0.4961 GB, free: 5.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007823/0.4621, allocations: 437.9 kB / 0.4966 GB, free: 5.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.4625, allocations: 43.48 kB / 0.4966 GB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.4638, allocations: 0.7239 MB / 0.4973 GB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.4642, allocations: 0.7648 MB / 0.498 GB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000164/0.4644, allocations: 30.95 kB / 0.4981 GB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.4644, allocations: 19.44 kB / 0.4981 GB, free: 3.5 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4644, allocations: 0 / 0.4981 GB, free: 3.5 MB / 378.7 MB Notification: Performance of Templates: time 0.2201/0.6845, allocations: 4.235 MB / 0.5022 GB, free: 100.8 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches