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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 101.5 kB / 18.4 MB, free: 4.699 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.001348/0.001348, allocations: 187.1 kB / 19.33 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 48.41 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1165, allocations: 46.62 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.005066/0.1216, allocations: 2.933 MB / 378.8 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1235, allocations: 0.772 MB / 379.6 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.124, allocations: 7.938 kB / 379.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.1242, allocations: 63.44 kB / 379.6 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005227/0.1248, allocations: 103.1 kB / 379.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.1252, allocations: 119.8 kB / 379.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006085/0.1258, allocations: 410.1 kB / 380.2 MB, free: 140 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.1261, allocations: 131.4 kB / 380.4 MB, free: 8 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2501/0.3762, allocations: 141.8 kB / 380.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.3765, allocations: 169.2 kB / 380.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.046e-05/0.3766, allocations: 34.38 kB / 380.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.508e-05/0.3767, allocations: 33.59 kB / 380.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.617e-05/0.3768, allocations: 82.62 kB / 380.8 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.377, allocations: 176.6 kB / 381 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.3775, allocations: 371.4 kB / 381.4 MB, free: 9.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3775, allocations: 0 / 381.4 MB, free: 9.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3776, allocations: 1.375 kB / 381.4 MB, free: 9.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.3776, allocations: 0 / 381.4 MB, free: 9.711 MB / 318.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.001104/0.3787, allocations: 0.6386 MB / 382 MB, free: 9.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3787, allocations: 13.17 kB / 382 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.149e-05/0.3788, allocations: 38.53 kB / 382 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.3793, allocations: 288.4 kB / 382.3 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.3794, allocations: 25.72 kB / 382.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-05/0.3794, allocations: 30.06 kB / 382.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.3801, allocations: 304.7 kB / 382.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.3801, allocations: 5.562 kB / 382.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.3802, allocations: 16.53 kB / 382.7 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.3802, allocations: 8.516 kB / 382.7 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007885/0.381, allocations: 296.5 kB / 383 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.3831, allocations: 1.086 MB / 384.1 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/0.384, allocations: 291.9 kB / 384.4 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004632/0.3845, allocations: 174.8 kB / 384.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.3845, allocations: 2.719 kB / 384.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3846, allocations: 41.5 kB / 384.6 MB, free: 8.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.3846, allocations: 3.094 kB / 384.6 MB, free: 8.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002524/0.3871, allocations: 0.8103 MB / 385.4 MB, free: 8.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.3872, allocations: 61.89 kB / 385.5 MB, free: 8.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.3875, allocations: 273.6 kB / 385.7 MB, free: 7.969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3875, allocations: 30.89 kB / 385.8 MB, free: 7.938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.3876, allocations: 206.4 kB / 386 MB, free: 7.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.3877, allocations: 75.3 kB / 386 MB, free: 7.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.756e-05/0.3878, allocations: 57.72 kB / 386.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.3879, allocations: 335.8 kB / 386.4 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.3882, allocations: 94.61 kB / 386.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.3885, allocations: 177.1 kB / 386.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/0.3891, allocations: 285.2 kB / 387 MB, free: 7.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3891, allocations: 5.219 kB / 387 MB, free: 7.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001454/0.3905, allocations: 0.5067 MB / 387.5 MB, free: 7.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.3906, allocations: 9.469 kB / 387.5 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3906, allocations: 3.25 kB / 387.5 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005529/0.3912, allocations: 123 kB / 387.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.3914, allocations: 55.7 kB / 387.7 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004609/0.396, allocations: 3.654 MB / 391.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.3964, allocations: 44.08 kB / 391.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.3965, allocations: 10.33 kB / 391.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002478/0.3967, allocations: 164.6 kB / 391.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001592/0.3969, allocations: 153 kB / 391.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002805/0.3972, allocations: 231.6 kB / 391.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.3972, allocations: 1.188 kB / 391.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0005805/0.3978, allocations: 312.6 kB / 392.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3978, allocations: 6.625 kB / 392.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3978, allocations: 8.094 kB / 392.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/0.398, allocations: 51.72 kB / 392.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.3982, allocations: 64.25 kB / 392.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.4001, allocations: 2.966 MB / 395.3 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.4003, allocations: 23.19 kB / 395.3 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.4003, allocations: 13 kB / 395.3 MB, free: 232 kB / 318.1 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 () * Number of clocked 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 (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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.4005, allocations: 199.2 kB / 395.5 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.4006, allocations: 27.66 kB / 395.6 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.362e-05/0.4007, allocations: 29.67 kB / 395.6 MB, free: 0 / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4007, allocations: 1.344 kB / 395.6 MB, free: 0 / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4007, allocations: 0.6562 kB / 395.6 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4007, allocations: 2.297 kB / 395.6 MB, free: 0 / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.4024, allocations: 0.7882 MB / 396.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4024, allocations: 0.8438 kB / 396.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.4026, allocations: 29.52 kB / 396.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/0.403, allocations: 133.3 kB / 396.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.4031, allocations: 9.312 kB / 396.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004653/0.4077, allocations: 3.62 MB / 400.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4078, allocations: 0 / 400.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.4093, allocations: 0.5686 MB / 400.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.4094, allocations: 102.5 kB / 400.8 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.4094, allocations: 6.188 kB / 400.8 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.4097, allocations: 25.77 kB / 400.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.563e-05/0.4098, allocations: 22.25 kB / 400.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.4098, allocations: 13.27 kB / 400.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002324/0.4101, allocations: 189.1 kB / 401.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4101, allocations: 0 / 401.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009013/0.411, allocations: 156.1 kB / 401.2 MB, free: 11.84 MB / 334.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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.4112, allocations: 105.6 kB / 401.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.413, allocations: 0.8761 MB / 402.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4131, allocations: 1.094 kB / 402.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008795/0.4139, allocations: 426.5 kB / 402.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.4145, allocations: 50.92 kB / 402.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.416, allocations: 0.6021 MB / 403.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.4164, allocations: 0.7712 MB / 404.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.743e-05/0.4165, allocations: 26.5 kB / 404.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4165, allocations: 0 / 404.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of Templates: time 0.01277/0.4293, allocations: 5.716 MB / 409.8 MB, free: 7.969 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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