Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001541/0.001541, allocations: 198.8 kB / 8.542 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 225.5 MB / 234.4 MB, free: 3.438 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008558/0.0008559, allocations: 89.23 kB / 286.3 MB, free: 5.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.027e-06/9.488e-06, allocations: 4 kB / 343.2 MB, free: 8.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09165/0.09167, allocations: 51.48 MB / 394.6 MB, free: 5.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2316/0.3233, allocations: 79.09 MB / 473.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.3235, allocations: 77.47 kB / 473.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01276/0.3363, allocations: 5.074 MB / 478.9 MB, free: 9.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.3363, allocations: 11.98 kB / 478.9 MB, free: 9.578 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.0007408/0.3371, allocations: 0.5589 MB / 479.4 MB, free: 8.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3371, allocations: 8.031 kB / 479.5 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.471e-05/0.3372, allocations: 43.53 kB / 479.5 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.3376, allocations: 282.7 kB / 479.8 MB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3376, allocations: 11.98 kB / 479.8 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.3376, allocations: 16 kB / 479.8 MB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003243/0.338, allocations: 199.7 kB / 480 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.3384, allocations: 266.3 kB / 480.3 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3384, allocations: 0 / 480.3 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.3384, allocations: 0 / 480.3 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.3384, allocations: 8 kB / 480.3 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.3404, allocations: 1.251 MB / 481.5 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.3408, allocations: 172.4 kB / 481.7 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.3411, allocations: 149.8 kB / 481.8 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.3411, allocations: 0 / 481.8 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.3412, allocations: 37.88 kB / 481.9 MB, free: 6.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.022e-06/0.3412, allocations: 0 / 481.9 MB, free: 6.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008281/0.342, allocations: 326.8 kB / 482.2 MB, free: 6.594 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.342, allocations: 54.03 kB / 482.2 MB, free: 6.531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3422, allocations: 212.3 kB / 482.4 MB, free: 6.355 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3423, allocations: 29.7 kB / 482.5 MB, free: 6.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.3423, allocations: 193.8 kB / 482.7 MB, free: 6.141 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.3424, allocations: 60.73 kB / 482.7 MB, free: 6.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.3424, allocations: 0 / 482.7 MB, free: 6.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.3424, allocations: 332.9 kB / 483 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.878e-05/0.3425, allocations: 55.19 kB / 483.1 MB, free: 5.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3427, allocations: 156.6 kB / 483.3 MB, free: 5.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.3428, allocations: 72.94 kB / 483.3 MB, free: 5.523 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3428, allocations: 0 / 483.3 MB, free: 5.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008448/0.3436, allocations: 415.7 kB / 483.7 MB, free: 5.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.3439, allocations: 1.23 MB / 485 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.3439, allocations: 4 kB / 485 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/0.3442, allocations: 81.88 kB / 485 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.3444, allocations: 55.91 kB / 485.1 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.346, allocations: 1.999 MB / 487.1 MB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.3462, allocations: 47.73 kB / 487.1 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.855e-05/0.3463, allocations: 11.75 kB / 487.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.171e-06/0.3463, allocations: 4 kB / 487.2 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000523/0.3468, allocations: 280.3 kB / 487.4 MB, free: 1.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3468, allocations: 0 / 487.4 MB, free: 1.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.3469, allocations: 53.48 kB / 487.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.3471, allocations: 67.91 kB / 487.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.3489, allocations: 2.548 MB / 490.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.3491, allocations: 23.88 kB / 490.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3491, allocations: 9.062 kB / 490.1 MB, free: 14.55 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 0.0001193/0.3493, allocations: 116.7 kB / 490.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.3493, allocations: 23.72 kB / 490.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.715e-05/0.3494, allocations: 25.39 kB / 490.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3494, allocations: 8.141 kB / 490.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3494, allocations: 3.984 kB / 490.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3494, allocations: 0 / 490.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.3507, allocations: 0.6869 MB / 491 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3507, allocations: 0 / 491 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.3509, allocations: 25.92 kB / 491 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/0.3511, allocations: 80.94 kB / 491.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3511, allocations: 0 / 491.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00317/0.3543, allocations: 3.03 MB / 494.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3543, allocations: 0 / 494.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009142/0.3552, allocations: 499.5 kB / 494.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.3553, allocations: 96.81 kB / 494.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.3553, allocations: 0 / 494.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.3556, allocations: 36.03 kB / 494.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.3556, allocations: 15.45 kB / 494.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.3556, allocations: 7.938 kB / 494.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001417/0.3558, allocations: 159.6 kB / 494.9 MB, free: 9.855 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006076/0.3564, allocations: 147.5 kB / 495.1 MB, free: 9.711 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.000168/0.3566, allocations: 107.2 kB / 495.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.3577, allocations: 0.6662 MB / 495.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3577, allocations: 1.5 kB / 495.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006101/0.3583, allocations: 366.8 kB / 496.2 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3586, allocations: 35.89 kB / 496.2 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008462/0.3595, allocations: 391.9 kB / 496.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.3599, allocations: 0.7951 MB / 497.4 MB, free: 7.414 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3599, allocations: 4 kB / 497.4 MB, free: 7.41 MB / 362.7 MB Notification: Performance of Templates: time 0.00806/0.368, allocations: 4.308 MB / 0.49 GB, free: 3.191 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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