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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 184.8 kB / 8.132 MB, free: 2.078 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 221.4 MB / 229.9 MB, free: 3.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009108/0.0009109, allocations: 97.28 kB / 280.8 MB, free: 1.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.929e-06/9.959e-06, allocations: 4 kB / 336.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1823, allocations: 50.39 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0788/0.2611, allocations: 78.29 MB / 465.2 MB, free: 8.516 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.2614, allocations: 79.89 kB / 465.3 MB, free: 8.438 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01369/0.2751, allocations: 5.025 MB / 470.3 MB, free: 3.426 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.2752, allocations: 4 kB / 470.3 MB, free: 3.422 MB / 346.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.0007391/0.2759, allocations: 0.561 MB / 470.9 MB, free: 2.816 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.276, allocations: 8.031 kB / 470.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.276, allocations: 40.53 kB / 470.9 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.2764, allocations: 284.4 kB / 471.2 MB, free: 2.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2764, allocations: 8 kB / 471.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.2765, allocations: 20 kB / 471.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003481/0.2768, allocations: 197.3 kB / 471.4 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.2772, allocations: 263.7 kB / 471.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2772, allocations: 0 / 471.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.2773, allocations: 0 / 471.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.2773, allocations: 8 kB / 471.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.2793, allocations: 1.254 MB / 472.9 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.2797, allocations: 178.9 kB / 473.1 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.28, allocations: 136.8 kB / 473.2 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.2801, allocations: 7.984 kB / 473.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.2801, allocations: 38.5 kB / 473.3 MB, free: 248 kB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.2801, allocations: 0 / 473.3 MB, free: 248 kB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008746/0.281, allocations: 333.3 kB / 473.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.281, allocations: 51.41 kB / 473.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.2812, allocations: 220.1 kB / 473.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.2813, allocations: 25.7 kB / 473.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.2814, allocations: 195.4 kB / 474.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.2814, allocations: 63.09 kB / 474.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.2814, allocations: 0 / 474.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.2815, allocations: 326.8 kB / 474.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.973e-05/0.2816, allocations: 56 kB / 474.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.2818, allocations: 159.8 kB / 474.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.2819, allocations: 73.14 kB / 474.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2819, allocations: 0 / 474.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009343/0.2829, allocations: 419.6 kB / 475.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003853/0.2833, allocations: 1.218 MB / 476.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2833, allocations: 11.03 kB / 476.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/0.2836, allocations: 81.62 kB / 476.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.2838, allocations: 59.91 kB / 476.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.2857, allocations: 1.995 MB / 478.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.286, allocations: 43.73 kB / 478.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.286, allocations: 11.94 kB / 478.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.286, allocations: 4 kB / 478.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006003/0.2866, allocations: 279.2 kB / 478.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2866, allocations: 4 kB / 478.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.2868, allocations: 53.7 kB / 478.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.287, allocations: 63.97 kB / 479 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.2889, allocations: 2.542 MB / 481.5 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.2891, allocations: 27.81 kB / 481.6 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.2892, allocations: 13.03 kB / 481.6 MB, free: 7.391 MB / 362.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 () * 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 9.485e-05/0.2893, allocations: 108.9 kB / 481.7 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.2893, allocations: 23.72 kB / 481.7 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.2894, allocations: 29.8 kB / 481.7 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.2894, allocations: 8.062 kB / 481.7 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.2894, allocations: 1.625 kB / 481.7 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2894, allocations: 0 / 481.7 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.2906, allocations: 0.6838 MB / 482.4 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2906, allocations: 0 / 482.4 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.2908, allocations: 23.98 kB / 482.4 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.291, allocations: 73.69 kB / 482.5 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.291, allocations: 6.25 kB / 482.5 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003223/0.2942, allocations: 3.026 MB / 485.5 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.2942, allocations: 3.906 kB / 485.5 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009681/0.2952, allocations: 0.492 MB / 486 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.2953, allocations: 100.8 kB / 486.1 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.2953, allocations: 5.312 kB / 486.1 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.2956, allocations: 32.03 kB / 486.2 MB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.2956, allocations: 8.156 kB / 486.2 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.2956, allocations: 4 kB / 486.2 MB, free: 2.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001464/0.2958, allocations: 168.5 kB / 486.4 MB, free: 2.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006177/0.2964, allocations: 143.5 kB / 486.5 MB, free: 2.152 MB / 362.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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001551/0.2966, allocations: 103.2 kB / 486.6 MB, free: 2.039 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.2977, allocations: 0.662 MB / 487.3 MB, free: 1.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2977, allocations: 1.5 kB / 487.3 MB, free: 1.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005735/0.2983, allocations: 367.4 kB / 487.6 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.2986, allocations: 44.72 kB / 487.7 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008182/0.2995, allocations: 399 kB / 488 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.2998, allocations: 0.7912 MB / 488.8 MB, free: 15.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2998, allocations: 4 kB / 488.8 MB, free: 15.69 MB / 378.7 MB Notification: Performance of Templates: time 0.007842/0.3077, allocations: 4.314 MB / 493.2 MB, free: 11.43 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/jenkins/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) "" Variables in the reference:time,c.v,opAmp1.out.v,opAmp1.out.i,opAmp2.out.v,opAmp2.out.i Variables in the result:C,R,R1,R2,VAmp,Vns,Vps,c.C,c.v,f,opAmp1.V0,opAmp1.Vns,opAmp1.Vps,opAmp1.homotopyType,opAmp1.out.i,opAmp1.out.v,opAmp1.strict,opAmp1.useSupply,opAmp2.V0,opAmp2.Vns,opAmp2.Vps,opAmp2.homotopyType,opAmp2.out.i,opAmp2.out.v,opAmp2.strict,opAmp2.useSupply,r.R,r.T,r.T_ref,r.alpha,r1.R,r1.T,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_ref,r2.alpha,time,vOutRectangle.v,vOutTriangle.v