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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001018/0.001018, allocations: 198.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.19/1.19, allocations: 227.2 MB / 245 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008787/0.0008787, allocations: 102.2 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002099/0.00021, allocations: 8 kB / 358 MB, free: 9.297 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.21, allocations: 51.47 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09208/0.3022, allocations: 79.9 MB / 489.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.3024, allocations: 84.73 kB / 489.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01383/0.3163, allocations: 5.383 MB / 494.8 MB, free: 5.234 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.549e-06/0.3163, allocations: 0 / 494.8 MB, free: 5.234 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.289e-05/0.3163, allocations: 15.88 kB / 494.8 MB, free: 5.219 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.0009209/0.3173, allocations: 0.5889 MB / 495.4 MB, free: 4.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3173, allocations: 12.03 kB / 495.4 MB, free: 4.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/0.3174, allocations: 35.53 kB / 495.4 MB, free: 4.535 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.3178, allocations: 280.6 kB / 495.7 MB, free: 4.223 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.3178, allocations: 28.61 kB / 495.7 MB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.3179, allocations: 28 kB / 495.8 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.3185, allocations: 345 kB / 496.1 MB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3185, allocations: 0 / 496.1 MB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.3186, allocations: 16 kB / 496.1 MB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3186, allocations: 11.94 kB / 496.1 MB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006485/0.3193, allocations: 294.4 kB / 496.4 MB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/0.3218, allocations: 1.293 MB / 497.7 MB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.3232, allocations: 319.9 kB / 498 MB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.3232, allocations: 4.344 kB / 498 MB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3233, allocations: 42.52 kB / 498.1 MB, free: 1.742 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.823e-06/0.3233, allocations: 0 / 498.1 MB, free: 1.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.003784/0.3271, allocations: 0.874 MB / 498.9 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.3272, allocations: 55.41 kB / 499 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.3275, allocations: 249.6 kB / 499.2 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.3276, allocations: 33.7 kB / 499.3 MB, free: 476 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.3278, allocations: 199.9 kB / 499.5 MB, free: 272 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.96e-05/0.3278, allocations: 71 kB / 499.5 MB, free: 200 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.3279, allocations: 8 kB / 499.6 MB, free: 192 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.328, allocations: 334.8 kB / 499.9 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.3285, allocations: 103.9 kB / 500 MB, free: 15.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.329, allocations: 199.6 kB / 0.4885 GB, free: 15.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.3294, allocations: 120.5 kB / 0.4886 GB, free: 15.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3295, allocations: 0 / 0.4886 GB, free: 15.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002105/0.3316, allocations: 0.532 MB / 0.4891 GB, free: 14.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005506/0.3322, allocations: 1.235 MB / 0.4903 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3322, allocations: 4 kB / 0.4903 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007941/0.333, allocations: 141.6 kB / 0.4904 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.3333, allocations: 59.91 kB / 0.4905 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/0.337, allocations: 2.161 MB / 0.4926 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.3374, allocations: 51.58 kB / 0.4926 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.3374, allocations: 11.98 kB / 0.4927 GB, free: 10.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.3374, allocations: 4 kB / 0.4927 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001312/0.3388, allocations: 380 kB / 0.493 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3388, allocations: 0 / 0.493 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003992/0.3392, allocations: 97.7 kB / 0.4931 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.3395, allocations: 55.92 kB / 0.4932 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00408/0.3436, allocations: 2.974 MB / 0.4961 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.344, allocations: 39.8 kB / 0.4961 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.344, allocations: 15.95 kB / 0.4961 GB, free: 7.105 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 (31): * Single equations (assignments): 29 * 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 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002332/0.3442, allocations: 221 kB / 0.4963 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.91e-05/0.3443, allocations: 27.7 kB / 0.4964 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.952e-05/0.3444, allocations: 30.17 kB / 0.4964 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.3445, allocations: 4 kB / 0.4964 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3445, allocations: 0 / 0.4964 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3445, allocations: 0 / 0.4964 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/0.3451, allocations: 329.3 kB / 0.4967 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3451, allocations: 0 / 0.4967 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.3453, allocations: 31.98 kB / 0.4967 GB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006487/0.3459, allocations: 141.5 kB / 0.4969 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.346, allocations: 7.938 kB / 0.4969 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005694/0.3517, allocations: 3.221 MB / 0.5 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.3517, allocations: 7.984 kB / 0.5 GB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.3539, allocations: 0.6357 MB / 0.5007 GB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.354, allocations: 104.8 kB / 0.5008 GB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.3541, allocations: 4 kB / 0.5008 GB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.3545, allocations: 32.03 kB / 0.5008 GB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.633e-05/0.3546, allocations: 19.98 kB / 0.5008 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.3546, allocations: 8 kB / 0.5008 GB, free: 1.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000278/0.3549, allocations: 190 kB / 0.501 GB, free: 1.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3549, allocations: 0 / 0.501 GB, free: 1.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001068/0.356, allocations: 151.6 kB / 0.5011 GB, free: 1.59 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 (14): * Single equations (assignments): 12 * 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 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002143/0.3562, allocations: 111.2 kB / 0.5013 GB, free: 1.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.3581, allocations: 0.7352 MB / 0.502 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3581, allocations: 4.062 kB / 0.502 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006357/0.3588, allocations: 345.2 kB / 0.5023 GB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.3592, allocations: 51.8 kB / 0.5024 GB, free: 288 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1677/0.527, allocations: 0.7058 MB / 0.503 GB, free: 96.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.5273, allocations: 0.7738 MB / 0.5038 GB, free: 95.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.5275, allocations: 30.84 kB / 0.5038 GB, free: 95.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.5276, allocations: 21.03 kB / 0.5038 GB, free: 95.54 MB / 378.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5276, allocations: 0.8125 kB / 0.5038 GB, free: 95.54 MB / 378.7 MB Notification: Performance of Templates: time 0.008788/0.5364, allocations: 3.997 MB / 0.5078 GB, free: 95.47 MB / 378.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.simplifiedExpr,opAmp1.strict,opAmp1.useSupply,opAmp1.vns,opAmp1.vps,opAmp2.V0,opAmp2.Vns,opAmp2.Vps,opAmp2.homotopyType,opAmp2.out.i,opAmp2.out.v,opAmp2.strict,opAmp2.useSupply,opAmp2.vns,opAmp2.vps,r.R,r.T,r.T_heatPort,r.T_ref,r.alpha,r1.R,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,time,vOutRectangle.v,vOutTriangle.v