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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009705/0.0009705, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 221.3 MB / 235.5 MB, free: 2.953 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.0008112/0.0008112, allocations: 99.02 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.348e-05/2.351e-05, allocations: 0 / 343.8 MB, free: 4.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.09052, allocations: 50.42 MB / 394.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2764/0.3669, allocations: 79.01 MB / 473.3 MB, free: 8.527 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.3672, allocations: 79.78 kB / 473.3 MB, free: 8.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01414/0.3813, allocations: 5.336 MB / 478.7 MB, free: 3.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3814, allocations: 4 kB / 478.7 MB, free: 3.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.3814, allocations: 8 kB / 478.7 MB, free: 3.098 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.000765/0.3822, allocations: 0.5482 MB / 479.2 MB, free: 2.504 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3822, allocations: 8.031 kB / 479.3 MB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.032e-05/0.3823, allocations: 39.53 kB / 479.3 MB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.3827, allocations: 283.1 kB / 479.6 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.3827, allocations: 20.78 kB / 479.6 MB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.3828, allocations: 32 kB / 479.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.3832, allocations: 311.6 kB / 479.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3833, allocations: 4 kB / 479.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.3833, allocations: 11.95 kB / 479.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.3833, allocations: 8 kB / 479.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.3837, allocations: 211.1 kB / 480.2 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.3858, allocations: 1.313 MB / 481.5 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.3863, allocations: 208.2 kB / 481.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.3866, allocations: 136.8 kB / 481.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.3867, allocations: 4 kB / 481.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3867, allocations: 42.5 kB / 481.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.144e-06/0.3867, allocations: 3.938 kB / 481.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009/0.3876, allocations: 331.2 kB / 482.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.3877, allocations: 55.41 kB / 482.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.3879, allocations: 243.1 kB / 482.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.388, allocations: 25.7 kB / 482.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.3881, allocations: 203.7 kB / 482.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.3882, allocations: 71 kB / 482.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.3882, allocations: 8 kB / 482.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3884, allocations: 338.8 kB / 483.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.3885, allocations: 60 kB / 483.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.3887, allocations: 164 kB / 483.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.3889, allocations: 80.03 kB / 483.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3889, allocations: 0 / 483.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009873/0.3899, allocations: 450.7 kB / 483.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004239/0.3903, allocations: 1.209 MB / 485 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3903, allocations: 4 kB / 485 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002938/0.3906, allocations: 89.61 kB / 485.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.3908, allocations: 51.86 kB / 485.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.3929, allocations: 2.012 MB / 487.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.3932, allocations: 51.64 kB / 487.3 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3933, allocations: 12 kB / 487.3 MB, free: 9.953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.3933, allocations: 4 kB / 487.3 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006504/0.3939, allocations: 316.5 kB / 487.6 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.394, allocations: 3.953 kB / 487.6 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.3941, allocations: 57.75 kB / 487.6 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.3943, allocations: 63.91 kB / 487.7 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.3963, allocations: 2.631 MB / 490.3 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.3966, allocations: 39.73 kB / 490.4 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.3966, allocations: 19.94 kB / 490.4 MB, free: 6.551 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.0001561/0.3968, allocations: 121 kB / 490.5 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/0.3969, allocations: 31.67 kB / 490.5 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.397, allocations: 25.95 kB / 490.6 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.397, allocations: 4 kB / 490.6 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.397, allocations: 0 / 490.6 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.397, allocations: 0 / 490.6 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.3983, allocations: 0.7402 MB / 491.3 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3984, allocations: 0 / 491.3 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.3985, allocations: 24.12 kB / 491.3 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002088/0.3987, allocations: 77.69 kB / 491.4 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.3987, allocations: 15.92 kB / 491.4 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003173/0.4019, allocations: 3.103 MB / 494.5 MB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4019, allocations: 0 / 494.5 MB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009738/0.4029, allocations: 0.4954 MB / 495 MB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/0.403, allocations: 108.8 kB / 495.1 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.4031, allocations: 0 / 495.1 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.4033, allocations: 39.91 kB / 495.2 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.4034, allocations: 15.98 kB / 495.2 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.4034, allocations: 12.05 kB / 495.2 MB, free: 1.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.4036, allocations: 187.1 kB / 495.4 MB, free: 1.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4036, allocations: 0 / 495.4 MB, free: 1.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006197/0.4042, allocations: 151.6 kB / 495.5 MB, free: 1.027 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.0001615/0.4044, allocations: 108.1 kB / 495.6 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.4056, allocations: 0.7193 MB / 496.3 MB, free: 160 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4057, allocations: 1.5 kB / 496.3 MB, free: 160 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006458/0.4063, allocations: 397 kB / 496.7 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.4066, allocations: 45.84 kB / 496.8 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.4074, allocations: 397 kB / 497.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.4077, allocations: 0.7686 MB / 497.9 MB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.4079, allocations: 42.94 kB / 498 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.4079, allocations: 19.44 kB / 498 MB, free: 14.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.834e-06/0.4079, allocations: 0 / 498 MB, free: 14.43 MB / 378.7 MB Notification: Performance of Templates: time 0.007653/0.4156, allocations: 4.271 MB / 0.4905 GB, free: 10.18 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) Reference file matches