Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001589/0.001589, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008989/0.000899, allocations: 86.72 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.819e-05, allocations: 8 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09179/0.09183, allocations: 47.59 MB / 363.1 MB, free: 7.043 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3216/0.4134, allocations: 77.33 MB / 440.4 MB, free: 2.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.4137, allocations: 80.8 kB / 440.5 MB, free: 2.277 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01442/0.4281, allocations: 5.131 MB / 445.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4281, allocations: 2.078 kB / 445.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.261e-05/0.4282, allocations: 12 kB / 445.7 MB, free: 13.94 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009047/0.4291, allocations: 0.5542 MB / 446.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4292, allocations: 8.031 kB / 446.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.784e-05/0.4293, allocations: 39.53 kB / 446.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.4297, allocations: 288.5 kB / 446.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.4297, allocations: 15.95 kB / 446.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.4298, allocations: 16 kB / 446.6 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003794/0.4302, allocations: 209.7 kB / 446.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.4306, allocations: 222.8 kB / 447 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.4306, allocations: 0 / 447 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.4306, allocations: 0 / 447 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4306, allocations: 9.125 kB / 447 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.4327, allocations: 1.15 MB / 448.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.4333, allocations: 217.4 kB / 448.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.4337, allocations: 130.2 kB / 448.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.453e-05/0.4337, allocations: 15.97 kB / 448.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.4338, allocations: 34.86 kB / 448.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.915e-06/0.4338, allocations: 0 / 448.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009749/0.4348, allocations: 302.8 kB / 448.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.4348, allocations: 59.41 kB / 448.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.4351, allocations: 207.5 kB / 449.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.4352, allocations: 29.64 kB / 449.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.4354, allocations: 206.4 kB / 449.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.4354, allocations: 69.45 kB / 449.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/0.4354, allocations: 0 / 449.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4356, allocations: 336.9 kB / 449.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.4357, allocations: 53.56 kB / 449.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.4359, allocations: 155.1 kB / 449.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.4361, allocations: 77.75 kB / 450 MB, free: 10 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4361, allocations: 0 / 450 MB, free: 10 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008513/0.4369, allocations: 391.4 kB / 450.4 MB, free: 9.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006128/0.4376, allocations: 1.136 MB / 451.5 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.4376, allocations: 4 kB / 451.5 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/0.438, allocations: 81.36 kB / 451.6 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.4382, allocations: 55.92 kB / 451.7 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.4394, allocations: 1.219 MB / 452.9 MB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.4397, allocations: 39.73 kB / 452.9 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.4398, allocations: 12 kB / 452.9 MB, free: 7.062 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.4398, allocations: 0 / 452.9 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003792/0.4402, allocations: 224.2 kB / 453.1 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4402, allocations: 8.031 kB / 453.2 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.4403, allocations: 40.2 kB / 453.2 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.4405, allocations: 59.91 kB / 453.2 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.4424, allocations: 2.591 MB / 455.8 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.4426, allocations: 23.67 kB / 455.9 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.4426, allocations: 15.44 kB / 455.9 MB, free: 4.027 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp2.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.4428, allocations: 108.9 kB / 456 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.4429, allocations: 23.72 kB / 456 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.249e-05/0.4429, allocations: 27.91 kB / 456 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4429, allocations: 3.984 kB / 456 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.4429, allocations: 64 / 456 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.443, allocations: 7.953 kB / 456 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.4441, allocations: 0.6558 MB / 456.7 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4441, allocations: 0 / 456.7 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.4443, allocations: 35.92 kB / 456.7 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/0.4445, allocations: 77.55 kB / 456.8 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.4445, allocations: 0 / 456.8 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00291/0.4475, allocations: 3.014 MB / 459.8 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.4475, allocations: 4.031 kB / 459.8 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/0.4483, allocations: 471.8 kB / 460.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.4484, allocations: 100.8 kB / 460.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.4484, allocations: 4.062 kB / 460.4 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.4487, allocations: 31.91 kB / 460.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.4488, allocations: 23.16 kB / 460.4 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.4488, allocations: 7.953 kB / 460.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001415/0.4489, allocations: 156.8 kB / 460.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4489, allocations: 4 kB / 460.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006699/0.4496, allocations: 139.5 kB / 460.7 MB, free: 15.26 MB / 346.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 () * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001615/0.4498, allocations: 107.2 kB / 460.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.4509, allocations: 0.5778 MB / 461.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4509, allocations: 0 / 461.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.4516, allocations: 381 kB / 461.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.4519, allocations: 31.62 kB / 461.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007574/0.4527, allocations: 399.3 kB / 462.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.453, allocations: 0.7767 MB / 463 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.4532, allocations: 34.03 kB / 463 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.4532, allocations: 23.44 kB / 463.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4532, allocations: 0 / 463.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of Templates: time 0.007087/0.4603, allocations: 3.553 MB / 466.6 MB, free: 9.469 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches