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.001408/0.001408, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008053/0.000805, allocations: 85.78 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.217e-05, allocations: 8 kB / 343.7 MB, free: 8.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 51.47 MB / 395.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2933/0.3947, allocations: 79.17 MB / 474.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.3949, allocations: 79.58 kB / 474.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01284/0.4078, allocations: 5.334 MB / 479.8 MB, free: 9.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4078, allocations: 0 / 479.8 MB, free: 9.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.4078, allocations: 12 kB / 479.8 MB, free: 9.398 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.0006747/0.4085, allocations: 0.558 MB / 480.3 MB, free: 8.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.4085, allocations: 12.03 kB / 480.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.4086, allocations: 37.22 kB / 480.4 MB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.4089, allocations: 282.1 kB / 480.7 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.409, allocations: 8 kB / 480.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.409, allocations: 16 kB / 480.7 MB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002913/0.4093, allocations: 198.4 kB / 480.9 MB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.4097, allocations: 270 kB / 481.1 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4097, allocations: 0 / 481.1 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.4097, allocations: 0 / 481.1 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4097, allocations: 8 kB / 481.1 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.4114, allocations: 1.232 MB / 482.4 MB, free: 7.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.4118, allocations: 201.4 kB / 482.6 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.4121, allocations: 133.3 kB / 482.7 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.4121, allocations: 4.344 kB / 482.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.4121, allocations: 34.52 kB / 482.7 MB, free: 6.734 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.4121, allocations: 4 kB / 482.7 MB, free: 6.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008041/0.4129, allocations: 313.9 kB / 483.1 MB, free: 6.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.642e-05/0.413, allocations: 51.41 kB / 483.1 MB, free: 6.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.4131, allocations: 218.9 kB / 483.3 MB, free: 6.211 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.4132, allocations: 28.52 kB / 483.3 MB, free: 6.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.4132, allocations: 207.9 kB / 483.5 MB, free: 6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.4133, allocations: 62.17 kB / 483.6 MB, free: 5.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.4133, allocations: 0 / 483.6 MB, free: 5.949 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.4133, allocations: 339.6 kB / 483.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.4134, allocations: 54 kB / 484 MB, free: 5.586 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.4135, allocations: 150.6 kB / 484.1 MB, free: 5.426 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.4137, allocations: 76.67 kB / 484.2 MB, free: 5.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4137, allocations: 0 / 484.2 MB, free: 5.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008412/0.4145, allocations: 414.8 kB / 484.6 MB, free: 5.023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002209/0.4147, allocations: 1.222 MB / 485.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.4148, allocations: 2.562 kB / 485.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/0.415, allocations: 87.62 kB / 485.9 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.4152, allocations: 55.91 kB / 486 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.4167, allocations: 1.963 MB / 487.9 MB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.4169, allocations: 43.67 kB / 488 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.4169, allocations: 14.5 kB / 488 MB, free: 1.523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.417, allocations: 4 kB / 488 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005123/0.4175, allocations: 283.8 kB / 488.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4175, allocations: 4 kB / 488.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.435e-05/0.4176, allocations: 51.52 kB / 488.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.4178, allocations: 55.91 kB / 488.4 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.4194, allocations: 2.555 MB / 490.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.4196, allocations: 23.83 kB / 491 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.4196, allocations: 10.62 kB / 491 MB, free: 14.46 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.0001142/0.4198, allocations: 113.7 kB / 491.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.4198, allocations: 29.42 kB / 491.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.4199, allocations: 23.66 kB / 491.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4199, allocations: 7.984 kB / 491.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.4199, allocations: 4.062 kB / 491.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.4199, allocations: 2.156 kB / 491.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.4211, allocations: 0.6744 MB / 491.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4211, allocations: 0 / 491.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.4212, allocations: 27.42 kB / 491.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001678/0.4214, allocations: 71.56 kB / 491.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4214, allocations: 0 / 491.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002815/0.4243, allocations: 3.001 MB / 494.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4243, allocations: 0 / 494.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008837/0.4252, allocations: 491.9 kB / 495.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.4252, allocations: 100.9 kB / 495.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.4253, allocations: 0 / 495.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.4255, allocations: 28.05 kB / 495.5 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.4256, allocations: 23.86 kB / 495.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.4256, allocations: 4 kB / 495.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.4258, allocations: 164.7 kB / 495.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4258, allocations: 0 / 495.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007029/0.4265, allocations: 143.4 kB / 495.9 MB, free: 9.688 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.0001756/0.4267, allocations: 111.2 kB / 496 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.4278, allocations: 0.6653 MB / 496.6 MB, free: 8.961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4278, allocations: 4 kB / 496.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005842/0.4284, allocations: 381.6 kB / 497 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.4287, allocations: 37.5 kB / 497.1 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007589/0.4295, allocations: 380.4 kB / 497.4 MB, free: 8.207 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.4298, allocations: 0.7726 MB / 498.2 MB, free: 7.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.43, allocations: 36.7 kB / 498.2 MB, free: 7.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.43, allocations: 15.44 kB / 498.2 MB, free: 7.363 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.43, allocations: 0 / 498.2 MB, free: 7.363 MB / 362.7 MB Notification: Performance of Templates: time 0.006951/0.437, allocations: 3.784 MB / 0.4903 GB, free: 3.66 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) Reference file matches