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.001644/0.001644, allocations: 109.4 kB / 17.73 MB, free: 5.363 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.001697/0.001697, allocations: 188.1 kB / 18.66 MB, free: 4.441 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.91/1.91, 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.001202/0.001202, allocations: 55.92 kB / 328.6 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1299, allocations: 46.61 MB / 375.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004711/0.1347, allocations: 2.92 MB / 378.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1363, allocations: 0.7798 MB / 378.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.1365, allocations: 11.94 kB / 378.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.1367, allocations: 55.38 kB / 378.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.1369, allocations: 103.2 kB / 379 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.1373, allocations: 119.8 kB / 379.2 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000473/0.1378, allocations: 414.1 kB / 379.6 MB, free: 156 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.1381, allocations: 131.3 kB / 379.7 MB, free: 24 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2982/0.4364, allocations: 145.4 kB / 379.8 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.4369, allocations: 173.3 kB / 380 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.31e-05/0.437, allocations: 33 kB / 380 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.744e-05/0.4371, allocations: 33.94 kB / 380.1 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.549e-05/0.4372, allocations: 75.69 kB / 380.1 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.4375, allocations: 168.2 kB / 380.3 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007889/0.4383, allocations: 384.6 kB / 380.7 MB, free: 9.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.4383, allocations: 0 / 380.7 MB, free: 9.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.4383, allocations: 1.375 kB / 380.7 MB, free: 9.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.4383, allocations: 0.75 kB / 380.7 MB, free: 9.777 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.001225/0.4395, allocations: 0.6358 MB / 381.3 MB, free: 9.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4396, allocations: 12.11 kB / 381.3 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.4397, allocations: 43.61 kB / 381.4 MB, free: 9.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.4402, allocations: 287.5 kB / 381.7 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.4402, allocations: 26 kB / 381.7 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.267e-05/0.4403, allocations: 29.94 kB / 381.7 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007184/0.441, allocations: 301.1 kB / 382 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.4411, allocations: 6.844 kB / 382 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.4411, allocations: 14.38 kB / 382 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.4411, allocations: 6.875 kB / 382 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008769/0.442, allocations: 298.8 kB / 382.3 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.4442, allocations: 1.074 MB / 383.4 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009498/0.4452, allocations: 296.8 kB / 383.7 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005228/0.4457, allocations: 182.1 kB / 383.9 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.4458, allocations: 8.219 kB / 383.9 MB, free: 8.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.4458, allocations: 35.92 kB / 383.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.944e-06/0.4458, allocations: 3.844 kB / 383.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002626/0.4484, allocations: 0.815 MB / 384.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.4485, allocations: 61.08 kB / 384.8 MB, free: 8.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.4488, allocations: 274.1 kB / 385.1 MB, free: 8.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.4488, allocations: 31.41 kB / 385.1 MB, free: 8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.449, allocations: 199.7 kB / 385.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.449, allocations: 71.14 kB / 385.3 MB, free: 7.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-05/0.4491, allocations: 59.86 kB / 385.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.4493, allocations: 334 kB / 385.7 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.4496, allocations: 98.45 kB / 385.8 MB, free: 7.477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.4499, allocations: 183.5 kB / 386 MB, free: 7.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.4504, allocations: 285.5 kB / 386.3 MB, free: 7.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.4504, allocations: 0.875 kB / 386.3 MB, free: 7.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001481/0.4519, allocations: 0.5053 MB / 386.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.452, allocations: 6.844 kB / 386.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.452, allocations: 2.656 kB / 386.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005748/0.4526, allocations: 120.2 kB / 386.9 MB, free: 7.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.4528, allocations: 52.7 kB / 387 MB, free: 7.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004563/0.4574, allocations: 3.655 MB / 390.6 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.4578, allocations: 42.28 kB / 390.7 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.4578, allocations: 17.89 kB / 390.7 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002644/0.4581, allocations: 160.8 kB / 390.8 MB, free: 3.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002028/0.4583, allocations: 156.4 kB / 391 MB, free: 3.617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003302/0.4587, allocations: 227.9 kB / 391.2 MB, free: 3.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.257e-06/0.4587, allocations: 1.25 kB / 391.2 MB, free: 3.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.000578/0.4593, allocations: 314.5 kB / 391.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4593, allocations: 7.234 kB / 391.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4593, allocations: 3.844 kB / 391.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.4595, allocations: 55.62 kB / 391.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.4597, allocations: 63.44 kB / 391.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.4616, allocations: 2.971 MB / 394.6 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.4619, allocations: 22.69 kB / 394.6 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.4619, allocations: 10.92 kB / 394.7 MB, free: 288 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.0002154/0.4621, allocations: 204 kB / 394.9 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.4622, allocations: 29 kB / 394.9 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.493e-05/0.4623, allocations: 30.73 kB / 394.9 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.4623, allocations: 3.484 kB / 394.9 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4623, allocations: 0 / 394.9 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.4623, allocations: 2.531 kB / 394.9 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.4642, allocations: 0.786 MB / 395.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4643, allocations: 1.281 kB / 395.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.4644, allocations: 28.92 kB / 395.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.4649, allocations: 129.3 kB / 395.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.4649, allocations: 5.625 kB / 395.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005206/0.4701, allocations: 3.622 MB / 399.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.4702, allocations: 0.75 kB / 399.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.4718, allocations: 0.5671 MB / 400.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.4719, allocations: 106.9 kB / 400.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.472, allocations: 1.609 kB / 400.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.4722, allocations: 29.16 kB / 400.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.4724, allocations: 19.34 kB / 400.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.4724, allocations: 8.859 kB / 400.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003445/0.4728, allocations: 194.3 kB / 400.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4728, allocations: 0 / 400.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001028/0.4738, allocations: 155.5 kB / 400.6 MB, free: 11.89 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.0002419/0.4741, allocations: 108.7 kB / 400.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.4762, allocations: 0.8736 MB / 401.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.4762, allocations: 1.125 kB / 401.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009701/0.4772, allocations: 425.8 kB / 402 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.4778, allocations: 41.45 kB / 402 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.4794, allocations: 0.5946 MB / 402.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.48, allocations: 0.7715 MB / 403.4 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.4802, allocations: 30.97 kB / 403.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.4802, allocations: 20.66 kB / 403.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4802, allocations: 0 / 403.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of Templates: time 0.0135/0.4938, allocations: 4.714 MB / 408.1 MB, free: 8.672 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