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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008948/0.0008949, allocations: 93.02 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009722/0.0009722, allocations: 173.9 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002368/0.0002367, allocations: 12.44 kB / 302.1 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07368/0.07393, allocations: 50.41 MB / 352.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.002627/0.07658, allocations: 2.611 MB / 355.1 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.07774, allocations: 0.7169 MB / 355.8 MB, free: 348 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.07793, allocations: 7.938 kB / 355.8 MB, free: 340 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.07807, allocations: 43.69 kB / 355.9 MB, free: 296 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.07829, allocations: 91.3 kB / 356 MB, free: 204 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.07855, allocations: 103.9 kB / 356.1 MB, free: 100 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.07895, allocations: 394.3 kB / 356.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.07916, allocations: 107.6 kB / 356.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.07933, allocations: 131.4 kB / 356.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.07951, allocations: 147.2 kB / 356.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.07956, allocations: 16 kB / 356.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.595e-05/0.07961, allocations: 24 kB / 356.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.07966, allocations: 51.77 kB / 356.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.07981, allocations: 184.8 kB / 357.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.08005, allocations: 275.4 kB / 357.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.08006, allocations: 3.984 kB / 357.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.08007, allocations: 0 / 357.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.08008, allocations: 0 / 357.4 MB, free: 14.78 MB / 302.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.000849/0.08093, allocations: 0.5809 MB / 358 MB, free: 14.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.08098, allocations: 16.02 kB / 358 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.08105, allocations: 32.56 kB / 358 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.08137, allocations: 299.3 kB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.08141, allocations: 25.03 kB / 358.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.08146, allocations: 32.31 kB / 358.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.08211, allocations: 349.4 kB / 358.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.08214, allocations: 4 kB / 358.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.08217, allocations: 12 kB / 358.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.08219, allocations: 8 kB / 358.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006711/0.08286, allocations: 290.5 kB / 359 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.08465, allocations: 1.194 MB / 360.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008927/0.08556, allocations: 322.6 kB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.08603, allocations: 172.8 kB / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.08606, allocations: 4 kB / 360.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.08609, allocations: 42.5 kB / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.08609, allocations: 0 / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.002738/0.08884, allocations: 0.9173 MB / 361.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.08888, allocations: 55.34 kB / 361.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.08916, allocations: 270.6 kB / 362 MB, free: 9.926 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.08919, allocations: 29.7 kB / 362 MB, free: 9.891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.08931, allocations: 207.8 kB / 362.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.08937, allocations: 67.02 kB / 362.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.08942, allocations: 33.7 kB / 362.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.08952, allocations: 330.8 kB / 362.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.08981, allocations: 103.9 kB / 362.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.09014, allocations: 203.1 kB / 362.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/0.09074, allocations: 311.6 kB / 363.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.09075, allocations: 0 / 363.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001492/0.09225, allocations: 0.557 MB / 363.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.31e-05/0.09235, allocations: 176.1 kB / 363.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.09236, allocations: 4 kB / 363.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000579/0.09295, allocations: 157.5 kB / 364.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.09316, allocations: 59.91 kB / 364.2 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/0.09793, allocations: 3.478 MB / 367.6 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.0982, allocations: 43.67 kB / 367.7 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.09823, allocations: 16.06 kB / 367.7 MB, free: 3.754 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.09824, allocations: 4 kB / 367.7 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008915/0.09914, allocations: 373.3 kB / 368.1 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.09916, allocations: 4 kB / 368.1 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/0.09944, allocations: 93.75 kB / 368.2 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.09966, allocations: 55.91 kB / 368.2 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.1023, allocations: 2.841 MB / 371.1 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.1025, allocations: 35.88 kB / 371.1 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.1025, allocations: 8 kB / 371.1 MB, free: 72 kB / 302.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.1403/0.2429, allocations: 220.1 kB / 371.3 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.2429, allocations: 21.72 kB / 371.3 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.12e-05/0.243, allocations: 32.8 kB / 371.4 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.243, allocations: 2.906 kB / 371.4 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2431, allocations: 0 / 371.4 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2431, allocations: 2.062 kB / 371.4 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.245, allocations: 0.8436 MB / 372.2 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.245, allocations: 1.188 kB / 372.2 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.2451, allocations: 28 kB / 372.2 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005389/0.2457, allocations: 151 kB / 372.4 MB, free: 23.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.2457, allocations: 8.312 kB / 372.4 MB, free: 23.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003576/0.2493, allocations: 3.245 MB / 375.6 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2493, allocations: 0.7031 kB / 375.6 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.2509, allocations: 0.6432 MB / 376.3 MB, free: 20.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.2509, allocations: 102.3 kB / 376.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.251, allocations: 4.312 kB / 376.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.2512, allocations: 35.42 kB / 376.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.2513, allocations: 22.47 kB / 376.4 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.2513, allocations: 4.703 kB / 376.5 MB, free: 20.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.2515, allocations: 196 kB / 376.6 MB, free: 20.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2515, allocations: 0 / 376.6 MB, free: 20.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006644/0.2522, allocations: 153.5 kB / 376.8 MB, free: 20.64 MB / 302.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 9.201e-05/0.2523, allocations: 109.7 kB / 376.9 MB, free: 20.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.2539, allocations: 0.9258 MB / 377.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2539, allocations: 0 / 377.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004366/0.2544, allocations: 356.2 kB / 378.2 MB, free: 19.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.2548, allocations: 48 kB / 378.2 MB, free: 19.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.2559, allocations: 0.7814 MB / 379 MB, free: 19.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.2561, allocations: 0.7668 MB / 379.8 MB, free: 18.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.2562, allocations: 21.62 kB / 379.8 MB, free: 18.73 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2562, allocations: 4 kB / 379.8 MB, free: 18.72 MB / 302.1 MB Notification: Performance of Templates: time 0.007993/0.2642, allocations: 5.691 MB / 385.5 MB, free: 17.63 MB / 302.1 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/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_4.0.0_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