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.001152/0.001152, allocations: 106.1 kB / 17.72 MB, free: 5.242 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.001602/0.001602, allocations: 187.1 kB / 18.66 MB, free: 4.312 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.842/1.842, allocations: 205.1 MB / 224.5 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.00187/0.00187, allocations: 63.91 kB / 328.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1479, allocations: 46.6 MB / 375.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.005258/0.1532, allocations: 2.92 MB / 378.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.1558, allocations: 0.7797 MB / 378.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007819/0.1566, allocations: 4 kB / 378.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005268/0.1573, allocations: 59.42 kB / 378.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007544/0.158, allocations: 107 kB / 379 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007346/0.1588, allocations: 115.8 kB / 379.2 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009845/0.1598, allocations: 410.1 kB / 379.6 MB, free: 140 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005016/0.1603, allocations: 139.3 kB / 379.7 MB, free: 0 / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2935/0.4539, allocations: 141.7 kB / 379.8 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.4542, allocations: 173.1 kB / 380 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.4543, allocations: 33.12 kB / 380 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.623e-05/0.4543, allocations: 33 kB / 380.1 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.4544, allocations: 78.73 kB / 380.1 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.4546, allocations: 171.7 kB / 380.3 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.4551, allocations: 378.8 kB / 380.7 MB, free: 9.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4551, allocations: 0 / 380.7 MB, free: 9.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4552, allocations: 0 / 380.7 MB, free: 9.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.4552, allocations: 0 / 380.7 MB, free: 9.754 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.0011/0.4563, allocations: 0.6368 MB / 381.3 MB, free: 9.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4563, allocations: 13.48 kB / 381.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.189e-05/0.4564, allocations: 42.28 kB / 381.4 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.4569, allocations: 290.9 kB / 381.7 MB, free: 9.055 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.457, allocations: 27.72 kB / 381.7 MB, free: 9.055 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.457, allocations: 27.06 kB / 381.7 MB, free: 9.055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.4577, allocations: 306.5 kB / 382 MB, free: 9.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4577, allocations: 6.156 kB / 382 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.4578, allocations: 12.47 kB / 382 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.4578, allocations: 7.75 kB / 382 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008008/0.4586, allocations: 298.1 kB / 382.3 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.4608, allocations: 1.074 MB / 383.4 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/0.4617, allocations: 298.1 kB / 383.7 MB, free: 8.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005057/0.4622, allocations: 174.2 kB / 383.9 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.4623, allocations: 3.188 kB / 383.9 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.4623, allocations: 43.88 kB / 383.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.114e-06/0.4623, allocations: 0 / 383.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002497/0.4648, allocations: 0.8139 MB / 384.7 MB, free: 8.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.4649, allocations: 62.95 kB / 384.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.4652, allocations: 276.9 kB / 385.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.4652, allocations: 27.02 kB / 385.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.4653, allocations: 205.4 kB / 385.3 MB, free: 7.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.4654, allocations: 66.88 kB / 385.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.778e-05/0.4655, allocations: 61.44 kB / 385.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4656, allocations: 341 kB / 385.7 MB, free: 7.461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.4658, allocations: 97.03 kB / 385.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.4661, allocations: 175.9 kB / 386 MB, free: 7.348 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.4666, allocations: 290.3 kB / 386.3 MB, free: 7.188 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4666, allocations: 1.188 kB / 386.3 MB, free: 7.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001294/0.4679, allocations: 0.504 MB / 386.8 MB, free: 7.031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.468, allocations: 5.75 kB / 386.8 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.468, allocations: 4.547 kB / 386.8 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/0.4685, allocations: 119.1 kB / 386.9 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.4687, allocations: 55.75 kB / 387 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004108/0.4728, allocations: 3.652 MB / 390.6 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.4731, allocations: 43.97 kB / 390.7 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.4732, allocations: 13.56 kB / 390.7 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002179/0.4734, allocations: 165 kB / 390.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001913/0.4736, allocations: 156.7 kB / 391 MB, free: 3.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002976/0.4739, allocations: 228.4 kB / 391.2 MB, free: 3.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-06/0.4739, allocations: 1.281 kB / 391.2 MB, free: 3.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0005219/0.4744, allocations: 310.7 kB / 391.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.4745, allocations: 6.438 kB / 391.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4745, allocations: 3.156 kB / 391.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001537/0.4746, allocations: 60.17 kB / 391.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.4749, allocations: 62.41 kB / 391.7 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.4766, allocations: 2.973 MB / 394.6 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.4768, allocations: 22 kB / 394.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.4768, allocations: 13.91 kB / 394.7 MB, free: 256 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.0001301/0.477, allocations: 198.2 kB / 394.9 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.477, allocations: 28.61 kB / 394.9 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.4771, allocations: 27.55 kB / 394.9 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4771, allocations: 6.094 kB / 394.9 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4771, allocations: 4.875 kB / 394.9 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4771, allocations: 1.219 kB / 394.9 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.4788, allocations: 0.7838 MB / 395.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4788, allocations: 0 / 395.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.479, allocations: 28.64 kB / 395.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004358/0.4794, allocations: 131.9 kB / 395.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.4794, allocations: 4 kB / 395.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004641/0.4841, allocations: 3.625 MB / 399.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4841, allocations: 0 / 399.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.4856, allocations: 0.5669 MB / 400.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4857, allocations: 105.2 kB / 400.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.4857, allocations: 6.062 kB / 400.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.486, allocations: 25.16 kB / 400.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.4861, allocations: 19.89 kB / 400.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.4861, allocations: 9 kB / 400.2 MB, free: 12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.4863, allocations: 195.4 kB / 400.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4863, allocations: 0 / 400.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000929/0.4873, allocations: 155.4 kB / 400.6 MB, free: 11.86 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.0001824/0.4875, allocations: 106.5 kB / 400.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.4892, allocations: 0.8766 MB / 401.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4892, allocations: 0 / 401.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009834/0.4902, allocations: 424.8 kB / 402 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.4908, allocations: 37.41 kB / 402 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.4924, allocations: 0.591 MB / 402.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.493, allocations: 0.7755 MB / 403.4 MB, free: 9.875 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.4931, allocations: 31.05 kB / 403.4 MB, free: 9.867 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.4932, allocations: 19.53 kB / 403.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4932, allocations: 1.219 kB / 403.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of Templates: time 0.01293/0.5061, allocations: 4.718 MB / 408.1 MB, free: 8.648 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches