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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001533/0.001533, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001796/0.001796, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 359.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2343, allocations: 50.54 MB / 410 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003826/0.2382, allocations: 2.963 MB / 412.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2396, allocations: 0.7596 MB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.2398, allocations: 11.94 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.24, allocations: 51.5 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.2402, allocations: 107.1 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.2405, allocations: 123.8 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.2409, allocations: 398.3 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.2411, allocations: 135.3 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.2413, allocations: 147.5 kB / 414.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.2415, allocations: 175.2 kB / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.2416, allocations: 32 kB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.711e-05/0.2417, allocations: 32 kB / 414.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.2417, allocations: 75.69 kB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.2419, allocations: 175.1 kB / 415.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.2422, allocations: 371.8 kB / 415.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2422, allocations: 3.984 kB / 415.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2422, allocations: 4 kB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2422, allocations: 0 / 415.5 MB, free: 11.98 MB / 334.1 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.001011/0.2433, allocations: 0.6393 MB / 416.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2433, allocations: 12.03 kB / 416.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.12e-05/0.2434, allocations: 32.56 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.2438, allocations: 288.4 kB / 416.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.2439, allocations: 25.03 kB / 416.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.2439, allocations: 28.38 kB / 416.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006527/0.2446, allocations: 349.4 kB / 416.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.2446, allocations: 0 / 416.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.2446, allocations: 12 kB / 416.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.2446, allocations: 8 kB / 416.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006364/0.2453, allocations: 290.4 kB / 417.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.2471, allocations: 1.166 MB / 418.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008664/0.2479, allocations: 302.7 kB / 418.6 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/0.2484, allocations: 184.7 kB / 418.8 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.2485, allocations: 0 / 418.8 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.2485, allocations: 34.56 kB / 418.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 4.799e-06/0.2485, allocations: 3.984 kB / 418.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.002644/0.2512, allocations: 0.8542 MB / 419.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.2512, allocations: 63.28 kB / 419.8 MB, free: 7.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.2515, allocations: 270.7 kB / 420 MB, free: 7.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.2516, allocations: 33.7 kB / 420 MB, free: 7.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.2517, allocations: 207.8 kB / 420.3 MB, free: 6.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.2518, allocations: 70.98 kB / 420.3 MB, free: 6.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.246e-05/0.2519, allocations: 53.7 kB / 420.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.252, allocations: 338.8 kB / 420.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.2523, allocations: 104.7 kB / 420.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.2526, allocations: 187.8 kB / 421 MB, free: 6.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005859/0.2532, allocations: 311 kB / 421.3 MB, free: 5.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2533, allocations: 4 kB / 421.3 MB, free: 5.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001471/0.2547, allocations: 0.5259 MB / 421.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2548, allocations: 8 kB / 421.8 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2548, allocations: 4 kB / 421.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005907/0.2554, allocations: 141.7 kB / 422 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.2556, allocations: 59.91 kB / 422 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005212/0.2608, allocations: 3.697 MB / 425.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.2611, allocations: 51.73 kB / 425.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.2612, allocations: 12 kB / 425.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002767/0.2614, allocations: 180.1 kB / 426 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002443/0.2617, allocations: 171.9 kB / 426.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004329/0.2621, allocations: 268.9 kB / 426.4 MB, free: 320 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/0.2622, allocations: 3.984 kB / 426.4 MB, free: 316 kB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0009681/0.2631, allocations: 414.7 kB / 426.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2632, allocations: 8 kB / 426.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2632, allocations: 4 kB / 426.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/0.2635, allocations: 81.75 kB / 426.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.2637, allocations: 67.84 kB / 427 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/0.2667, allocations: 3.001 MB / 430 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.267, allocations: 35.72 kB / 430 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.267, allocations: 19.94 kB / 430 MB, free: 12.39 MB / 350.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.2672, allocations: 207.7 kB / 430.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.2673, allocations: 27.72 kB / 430.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.2674, allocations: 26.17 kB / 430.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2674, allocations: 4 kB / 430.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2674, allocations: 7.938 kB / 430.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2674, allocations: 0 / 430.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.2692, allocations: 0.8186 MB / 431.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2692, allocations: 4 kB / 431.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.2693, allocations: 27.92 kB / 431.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004949/0.2698, allocations: 137.6 kB / 431.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.2699, allocations: 4 kB / 431.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004274/0.2741, allocations: 3.418 MB / 434.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2742, allocations: 8 kB / 434.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.2757, allocations: 0.6058 MB / 435.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.2758, allocations: 104.7 kB / 435.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.2759, allocations: 12.06 kB / 435.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.2761, allocations: 23.97 kB / 435.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.2762, allocations: 15.98 kB / 435.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.2762, allocations: 11.98 kB / 435.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.2764, allocations: 193.9 kB / 435.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2764, allocations: 0 / 435.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006923/0.2771, allocations: 159.7 kB / 435.8 MB, free: 6.195 MB / 350.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.2773, allocations: 107.2 kB / 435.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.279, allocations: 0.8939 MB / 436.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.279, allocations: 3.938 kB / 436.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.2795, allocations: 356.4 kB / 437.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.28, allocations: 44.53 kB / 437.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.2812, allocations: 0.6314 MB / 437.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.2815, allocations: 0.7648 MB / 438.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.2816, allocations: 23.44 kB / 438.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2816, allocations: 0 / 438.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of Templates: time 0.007978/0.2896, allocations: 5.757 MB / 444.4 MB, free: 13.48 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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.v,opAmp1.out.i,opAmp1.out.v,opAmp2.out.i,opAmp2.out.v,time