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.001426/0.001426, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 226.5 MB / 245.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007991/0.0007991, allocations: 87.39 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002333/0.0002333, allocations: 8 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2752, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.3813, allocations: 79.84 MB / 489.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.3817, allocations: 80.98 kB / 489.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01484/0.3965, allocations: 5.387 MB / 494.7 MB, free: 6.215 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3966, allocations: 0 / 494.7 MB, free: 6.215 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.792e-05/0.3966, allocations: 8 kB / 494.7 MB, free: 6.207 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.001173/0.3978, allocations: 0.5891 MB / 495.3 MB, free: 5.566 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3978, allocations: 12.03 kB / 495.3 MB, free: 5.555 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.398, allocations: 40.47 kB / 495.3 MB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/0.3985, allocations: 288.3 kB / 495.6 MB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.3986, allocations: 25.03 kB / 495.6 MB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.077e-05/0.3986, allocations: 28.38 kB / 495.7 MB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007636/0.3994, allocations: 345.6 kB / 496 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3994, allocations: 192 / 496 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/0.3995, allocations: 23.92 kB / 496 MB, free: 4.773 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3995, allocations: 8 kB / 496 MB, free: 4.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/0.4002, allocations: 282.5 kB / 496.3 MB, free: 4.492 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/0.4026, allocations: 1.301 MB / 497.6 MB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009091/0.4036, allocations: 319.9 kB / 497.9 MB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/0.404, allocations: 174.3 kB / 498.1 MB, free: 2.605 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.4041, allocations: 8 kB / 498.1 MB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.4041, allocations: 31.25 kB / 498.1 MB, free: 2.559 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.605e-06/0.4041, allocations: 7.938 kB / 498.2 MB, free: 2.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.002638/0.4068, allocations: 0.909 MB / 499.1 MB, free: 1.594 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.4068, allocations: 59.41 kB / 499.1 MB, free: 1.523 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.4072, allocations: 278.5 kB / 499.4 MB, free: 1.242 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.4072, allocations: 29.7 kB / 499.4 MB, free: 1.207 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.4074, allocations: 199.8 kB / 499.6 MB, free: 1.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/0.4075, allocations: 71.08 kB / 499.7 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.4075, allocations: 8 kB / 499.7 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4076, allocations: 334.8 kB / 0.4883 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.4079, allocations: 99.94 kB / 0.4884 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.4082, allocations: 200.7 kB / 0.4886 GB, free: 264 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006221/0.4089, allocations: 320.9 kB / 0.4889 GB, free: 15.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4089, allocations: 4 kB / 0.4889 GB, free: 15.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001392/0.4103, allocations: 0.5456 MB / 0.4894 GB, free: 15.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002014/0.4105, allocations: 184 kB / 0.4896 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.4105, allocations: 0 / 0.4896 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.4112, allocations: 157.6 kB / 0.4898 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.4114, allocations: 55.86 kB / 0.4898 GB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005459/0.4169, allocations: 3.466 MB / 0.4932 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.4173, allocations: 51.61 kB / 0.4932 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.4173, allocations: 12 kB / 0.4933 GB, free: 11.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.4174, allocations: 4 kB / 0.4933 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009134/0.4183, allocations: 373.4 kB / 0.4936 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4183, allocations: 4 kB / 0.4936 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003095/0.4186, allocations: 89.7 kB / 0.4937 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.4188, allocations: 63.91 kB / 0.4938 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.4217, allocations: 2.819 MB / 0.4965 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.422, allocations: 31.77 kB / 0.4965 GB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.4221, allocations: 15.98 kB / 0.4966 GB, free: 7.43 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 (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.0002717/0.4224, allocations: 225.1 kB / 0.4968 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.4225, allocations: 23.72 kB / 0.4968 GB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.138e-05/0.4225, allocations: 30.17 kB / 0.4968 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4225, allocations: 0 / 0.4968 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4225, allocations: 0 / 0.4968 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.4226, allocations: 0 / 0.4968 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.4243, allocations: 0.8541 MB / 0.4977 GB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.4243, allocations: 11.94 kB / 0.4977 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.4245, allocations: 23.98 kB / 0.4977 GB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004934/0.425, allocations: 145.5 kB / 0.4978 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.425, allocations: 8 kB / 0.4978 GB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004986/0.43, allocations: 3.45 MB / 0.5012 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.4301, allocations: 4 kB / 0.5012 GB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.4318, allocations: 0.6411 MB / 0.5018 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.432, allocations: 104.8 kB / 0.5019 GB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.4321, allocations: 7.984 kB / 0.5019 GB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.4323, allocations: 28.05 kB / 0.502 GB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.4325, allocations: 31.84 kB / 0.502 GB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.4325, allocations: 4 kB / 0.502 GB, free: 1.469 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003128/0.4329, allocations: 198 kB / 0.5022 GB, free: 1.277 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4329, allocations: 0 / 0.5022 GB, free: 1.277 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009787/0.4339, allocations: 155.6 kB / 0.5023 GB, free: 1.125 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 (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.0002652/0.4341, allocations: 111.2 kB / 0.5025 GB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002024/0.4362, allocations: 0.914 MB / 0.5033 GB, free: 40 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4362, allocations: 0 / 0.5033 GB, free: 40 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1858/0.622, allocations: 420.7 kB / 0.5037 GB, free: 96.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/0.6227, allocations: 46.73 kB / 0.5038 GB, free: 96.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.6239, allocations: 0.7167 MB / 0.5045 GB, free: 96.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.6242, allocations: 0.7664 MB / 0.5052 GB, free: 95.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.6244, allocations: 31.53 kB / 0.5053 GB, free: 95.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.6244, allocations: 19.66 kB / 0.5053 GB, free: 95.77 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6244, allocations: 0.8125 kB / 0.5053 GB, free: 95.77 MB / 378.7 MB Notification: Performance of Templates: time 0.009382/0.6338, allocations: 4.252 MB / 0.5094 GB, free: 95.66 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/jenkins1/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