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.001319/0.00132, allocations: 114 kB / 17.74 MB, free: 5.355 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.001629/0.001629, allocations: 179.1 kB / 18.66 MB, free: 4.438 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.748/1.748, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001154/0.001154, allocations: 51.92 kB / 328.6 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1239, allocations: 46.61 MB / 375.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004951/0.129, allocations: 2.932 MB / 378.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.131, allocations: 0.7798 MB / 378.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.1313, allocations: 11.94 kB / 378.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.1317, allocations: 55.44 kB / 378.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.132, allocations: 107.1 kB / 379.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.1324, allocations: 123.8 kB / 379.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005481/0.133, allocations: 410.1 kB / 379.6 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003513/0.1333, allocations: 127.4 kB / 379.7 MB, free: 8 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3265/0.4598, allocations: 141.6 kB / 379.8 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.4602, allocations: 173.1 kB / 380 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.635e-05/0.4603, allocations: 33.56 kB / 380 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.169e-05/0.4604, allocations: 33.91 kB / 380.1 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.651e-05/0.4605, allocations: 79.61 kB / 380.1 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.4607, allocations: 177.4 kB / 380.3 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000881/0.4616, allocations: 371.8 kB / 380.7 MB, free: 9.738 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.4617, allocations: 1.375 kB / 380.7 MB, free: 9.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4617, allocations: 0 / 380.7 MB, free: 9.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.122e-05/0.4617, allocations: 0 / 380.7 MB, free: 9.738 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.001587/0.4633, allocations: 0.6566 MB / 381.3 MB, free: 9.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.852e-05/0.4634, allocations: 12.72 kB / 381.4 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.4635, allocations: 35.34 kB / 381.4 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006987/0.4642, allocations: 292.1 kB / 381.7 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.4643, allocations: 23.75 kB / 381.7 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.985e-05/0.4644, allocations: 29.7 kB / 381.7 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008584/0.4653, allocations: 304.6 kB / 382 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.4653, allocations: 4.625 kB / 382 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/0.4654, allocations: 13.88 kB / 382 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.4654, allocations: 7.094 kB / 382 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009759/0.4664, allocations: 297.3 kB / 382.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/0.4687, allocations: 1.089 MB / 383.4 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009987/0.4697, allocations: 295 kB / 383.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/0.4702, allocations: 172.6 kB / 383.9 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.4703, allocations: 6.844 kB / 383.9 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.4703, allocations: 40.84 kB / 383.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.4703, allocations: 0 / 383.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.00296/0.4733, allocations: 0.8131 MB / 384.7 MB, free: 8.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.4734, allocations: 58.34 kB / 384.8 MB, free: 8.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.4739, allocations: 278.2 kB / 385.1 MB, free: 7.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.4739, allocations: 29.02 kB / 385.1 MB, free: 7.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.4741, allocations: 199.4 kB / 385.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.903e-05/0.4742, allocations: 80.11 kB / 385.4 MB, free: 7.762 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.4743, allocations: 62.22 kB / 385.4 MB, free: 7.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4745, allocations: 332.2 kB / 385.8 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.4748, allocations: 102.4 kB / 385.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.4751, allocations: 176.9 kB / 386 MB, free: 7.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/0.4757, allocations: 287.7 kB / 386.3 MB, free: 7.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.4757, allocations: 0 / 386.3 MB, free: 7.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001628/0.4773, allocations: 0.5042 MB / 386.8 MB, free: 6.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.4774, allocations: 6.375 kB / 386.8 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.4774, allocations: 4.344 kB / 386.8 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.478, allocations: 123.4 kB / 386.9 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.4783, allocations: 53.28 kB / 387 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005112/0.4834, allocations: 3.664 MB / 390.7 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.4838, allocations: 40.17 kB / 390.7 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.4838, allocations: 18.88 kB / 390.7 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002648/0.4841, allocations: 160.2 kB / 390.9 MB, free: 3.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002117/0.4843, allocations: 157.1 kB / 391 MB, free: 3.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003089/0.4846, allocations: 229.6 kB / 391.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.4846, allocations: 0 / 391.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0005717/0.4852, allocations: 313.5 kB / 391.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4853, allocations: 7.297 kB / 391.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4853, allocations: 2.969 kB / 391.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/0.4854, allocations: 59.14 kB / 391.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.4857, allocations: 55.06 kB / 391.7 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/0.4874, allocations: 2.966 MB / 394.6 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.4876, allocations: 30.34 kB / 394.7 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.4876, allocations: 9.406 kB / 394.7 MB, free: 204 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.000162/0.4878, allocations: 201.9 kB / 394.9 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.745e-05/0.4879, allocations: 28.45 kB / 394.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.226e-05/0.488, allocations: 42.59 kB / 395 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.488, allocations: 3 kB / 395 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.488, allocations: 0 / 395 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.488, allocations: 1.312 kB / 395 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.4899, allocations: 0.782 MB / 395.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4899, allocations: 0 / 395.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.4901, allocations: 26.75 kB / 395.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/0.4905, allocations: 128.8 kB / 395.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.4906, allocations: 3.344 kB / 395.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004877/0.4955, allocations: 3.627 MB / 399.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4955, allocations: 0 / 399.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.4971, allocations: 0.5686 MB / 400.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.4972, allocations: 106.6 kB / 400.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.4973, allocations: 3.641 kB / 400.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.4975, allocations: 29.38 kB / 400.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.4977, allocations: 24.89 kB / 400.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.4977, allocations: 4.312 kB / 400.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002938/0.498, allocations: 190.3 kB / 400.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.498, allocations: 1.219 kB / 400.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009849/0.499, allocations: 160 kB / 400.6 MB, free: 11.81 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.0002024/0.4992, allocations: 109.6 kB / 400.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.5013, allocations: 0.8801 MB / 401.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.5014, allocations: 0.7031 kB / 401.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009328/0.5023, allocations: 425 kB / 402 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.5029, allocations: 44.09 kB / 402 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.5044, allocations: 0.5906 MB / 402.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.505, allocations: 0.7687 MB / 403.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.5051, allocations: 31.25 kB / 403.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.5052, allocations: 21.33 kB / 403.5 MB, free: 9.805 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5052, allocations: 0 / 403.5 MB, free: 9.805 MB / 334.1 MB Notification: Performance of Templates: time 0.01326/0.5185, allocations: 4.725 MB / 408.2 MB, free: 8.594 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