Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007963/0.0007964, allocations: 74.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.012e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09551/0.09556, allocations: 47.57 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3049/0.4005, allocations: 77.77 MB / 447.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.4007, allocations: 78.45 kB / 447.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01349/0.4142, allocations: 5.175 MB / 453.1 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4143, allocations: 0.7656 kB / 453.1 MB, free: 11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.4143, allocations: 12 kB / 453.1 MB, free: 10.98 MB / 330.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.0007529/0.415, allocations: 0.5516 MB / 453.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.4151, allocations: 8.031 kB / 453.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.822e-05/0.4152, allocations: 50.66 kB / 453.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.4155, allocations: 282.2 kB / 454 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.4155, allocations: 29.88 kB / 454 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.4156, allocations: 30.81 kB / 454 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.416, allocations: 263.3 kB / 454.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.416, allocations: 3.984 kB / 454.3 MB, free: 9.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.4161, allocations: 14.31 kB / 454.3 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4161, allocations: 8 kB / 454.3 MB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.4164, allocations: 224.1 kB / 454.5 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.4183, allocations: 1.202 MB / 455.7 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.4187, allocations: 231 kB / 455.9 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.419, allocations: 137.3 kB / 456.1 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.4191, allocations: 7.953 kB / 456.1 MB, free: 8.328 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.4191, allocations: 34.12 kB / 456.1 MB, free: 8.289 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.4191, allocations: 0 / 456.1 MB, free: 8.289 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007753/0.4199, allocations: 325.4 kB / 456.4 MB, free: 8.008 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.4199, allocations: 59.36 kB / 456.5 MB, free: 7.938 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.4201, allocations: 238.3 kB / 456.7 MB, free: 7.742 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.4202, allocations: 28.58 kB / 456.8 MB, free: 7.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/0.4203, allocations: 199.1 kB / 457 MB, free: 7.543 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.4203, allocations: 76.19 kB / 457 MB, free: 7.477 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.4203, allocations: 10.88 kB / 457 MB, free: 7.473 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4205, allocations: 332.5 kB / 457.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/0.4206, allocations: 63.62 kB / 457.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.4207, allocations: 157.6 kB / 457.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.4209, allocations: 74.84 kB / 457.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.4209, allocations: 4 kB / 457.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008338/0.4217, allocations: 423.9 kB / 458.1 MB, free: 6.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003724/0.4221, allocations: 1.138 MB / 459.2 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4221, allocations: 8 kB / 459.2 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002629/0.4224, allocations: 85.62 kB / 459.3 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.4226, allocations: 51.92 kB / 459.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.4236, allocations: 1.218 MB / 460.6 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.4238, allocations: 39.69 kB / 460.6 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.4239, allocations: 23.94 kB / 460.6 MB, free: 3.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.742e-06/0.4239, allocations: 4 kB / 460.6 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003803/0.4243, allocations: 249.2 kB / 460.9 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.4243, allocations: 4 kB / 460.9 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001136/0.4244, allocations: 54.09 kB / 460.9 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.4246, allocations: 63.84 kB / 461 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.4262, allocations: 2.681 MB / 463.7 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.4264, allocations: 31.62 kB / 463.7 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.4264, allocations: 8 kB / 463.7 MB, free: 456 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.4265, allocations: 129.2 kB / 463.8 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.4266, allocations: 31.67 kB / 463.9 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.4267, allocations: 21.97 kB / 463.9 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4267, allocations: 4 kB / 463.9 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4267, allocations: 3.984 kB / 463.9 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4267, allocations: 0 / 463.9 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.4278, allocations: 0.7379 MB / 464.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4278, allocations: 0 / 464.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.4279, allocations: 23.98 kB / 464.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001834/0.4281, allocations: 85.62 kB / 464.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.4282, allocations: 4 kB / 464.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002856/0.431, allocations: 3.115 MB / 467.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.431, allocations: 0 / 467.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008259/0.4319, allocations: 0.497 MB / 468.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.4319, allocations: 104.8 kB / 468.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.432, allocations: 4 kB / 468.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.4322, allocations: 32.05 kB / 468.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.4323, allocations: 19.97 kB / 468.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.4323, allocations: 4 kB / 468.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.4325, allocations: 191.1 kB / 468.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4325, allocations: 0 / 468.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005801/0.4331, allocations: 143.7 kB / 468.8 MB, free: 10.92 MB / 346.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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001617/0.4332, allocations: 111.2 kB / 469 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.4343, allocations: 0.6121 MB / 469.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4343, allocations: 4.5 kB / 469.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006325/0.435, allocations: 401 kB / 470 MB, free: 9.738 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.4353, allocations: 44.47 kB / 470 MB, free: 9.695 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007165/0.436, allocations: 398.4 kB / 470.4 MB, free: 9.289 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.4363, allocations: 0.7723 MB / 471.2 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.4365, allocations: 42.95 kB / 471.2 MB, free: 8.445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.4365, allocations: 19.38 kB / 471.2 MB, free: 8.426 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4366, allocations: 0 / 471.2 MB, free: 8.426 MB / 346.7 MB Notification: Performance of Templates: time 0.007086/0.4436, allocations: 3.996 MB / 475.2 MB, free: 4.438 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches