Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001461/0.001461, allocations: 178.8 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009285/0.0009286, allocations: 90.47 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002877, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.27, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003531/0.2736, allocations: 2.489 MB / 379.1 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2752, allocations: 0.7467 MB / 379.8 MB, free: 43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.2754, allocations: 6.281 kB / 379.9 MB, free: 43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.2756, allocations: 45.91 kB / 379.9 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.2759, allocations: 93.2 kB / 380 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.2762, allocations: 106.8 kB / 380.1 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005326/0.2768, allocations: 392 kB / 380.5 MB, free: 42.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003142/0.2771, allocations: 104.8 kB / 380.6 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.2773, allocations: 131.4 kB / 380.7 MB, free: 42.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.2775, allocations: 152.9 kB / 380.9 MB, free: 42.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-05/0.2776, allocations: 17.62 kB / 380.9 MB, free: 42.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.384e-05/0.2777, allocations: 18.72 kB / 380.9 MB, free: 42.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.2777, allocations: 58.92 kB / 380.9 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.278, allocations: 179.9 kB / 381.1 MB, free: 42.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.2784, allocations: 350.9 kB / 381.5 MB, free: 41.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.2784, allocations: 0 / 381.5 MB, free: 41.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.2784, allocations: 5.469 kB / 381.5 MB, free: 41.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.2785, allocations: 4 kB / 381.5 MB, free: 41.88 MB / 298.7 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.001189/0.2797, allocations: 0.5862 MB / 382.1 MB, free: 41.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.2797, allocations: 9.062 kB / 382.1 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.2798, allocations: 39.19 kB / 382.1 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.2803, allocations: 284.6 kB / 382.4 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.2804, allocations: 20.16 kB / 382.4 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.638e-05/0.2805, allocations: 32.06 kB / 382.4 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.2815, allocations: 308.8 kB / 382.7 MB, free: 40.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.2815, allocations: 0 / 382.7 MB, free: 40.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.2816, allocations: 15.12 kB / 382.8 MB, free: 40.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.2816, allocations: 7.688 kB / 382.8 MB, free: 40.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.2828, allocations: 308.5 kB / 383.1 MB, free: 40.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.2852, allocations: 1.114 MB / 384.2 MB, free: 39.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.2866, allocations: 314.2 kB / 384.5 MB, free: 39.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006236/0.2873, allocations: 176.1 kB / 384.7 MB, free: 39.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.2873, allocations: 10.2 kB / 384.7 MB, free: 39.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.2874, allocations: 40.55 kB / 384.7 MB, free: 39.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 2.224e-06/0.2874, allocations: 0 / 384.7 MB, free: 39.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.00362/0.291, allocations: 0.9134 MB / 385.6 MB, free: 39.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.291, allocations: 58.45 kB / 385.7 MB, free: 38.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.2914, allocations: 269.2 kB / 385.9 MB, free: 38.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.2915, allocations: 31.05 kB / 386 MB, free: 38.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2916, allocations: 204 kB / 386.2 MB, free: 38.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.301e-05/0.2917, allocations: 64.2 kB / 386.2 MB, free: 38.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.2917, allocations: 9 kB / 386.2 MB, free: 38.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2918, allocations: 333.2 kB / 386.6 MB, free: 38.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.2922, allocations: 99.88 kB / 386.7 MB, free: 38.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.2926, allocations: 189.9 kB / 386.8 MB, free: 37.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/0.2932, allocations: 288.3 kB / 387.1 MB, free: 37.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2932, allocations: 0 / 387.1 MB, free: 37.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001654/0.2949, allocations: 0.5557 MB / 387.7 MB, free: 37.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.503e-05/0.295, allocations: 179.3 kB / 387.9 MB, free: 36.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.295, allocations: 4 kB / 387.9 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006813/0.2957, allocations: 133.6 kB / 388 MB, free: 36.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.296, allocations: 51.92 kB / 388 MB, free: 36.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005237/0.3012, allocations: 3.454 MB / 391.5 MB, free: 32.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/0.3017, allocations: 43.73 kB / 391.5 MB, free: 32.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.3018, allocations: 16 kB / 391.6 MB, free: 32.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3018, allocations: 6.812 kB / 391.6 MB, free: 32.85 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005784/0.3024, allocations: 257.4 kB / 391.8 MB, free: 32.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3024, allocations: 4.188 kB / 391.8 MB, free: 32.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.3026, allocations: 49.69 kB / 391.9 MB, free: 32.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.3029, allocations: 63.91 kB / 391.9 MB, free: 32.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.3046, allocations: 2.692 MB / 394.6 MB, free: 29.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.3049, allocations: 15.84 kB / 394.6 MB, free: 29.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.305, allocations: 12 kB / 394.7 MB, free: 29.48 MB / 298.7 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.000202/0.3052, allocations: 224.9 kB / 394.9 MB, free: 29.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.923e-05/0.3053, allocations: 31.62 kB / 394.9 MB, free: 29.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.3053, allocations: 38.17 kB / 394.9 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3054, allocations: 4 kB / 394.9 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3054, allocations: 0 / 394.9 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3054, allocations: 3.984 kB / 394.9 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.3073, allocations: 0.8198 MB / 395.8 MB, free: 28.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3073, allocations: 0 / 395.8 MB, free: 28.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.3075, allocations: 27.98 kB / 395.8 MB, free: 28.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004965/0.308, allocations: 137.7 kB / 395.9 MB, free: 28.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.308, allocations: 11.98 kB / 395.9 MB, free: 28.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004744/0.3128, allocations: 3.407 MB / 399.3 MB, free: 24.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.3128, allocations: 0 / 399.3 MB, free: 24.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.3143, allocations: 0.6111 MB / 400 MB, free: 23.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.3145, allocations: 108.7 kB / 400.1 MB, free: 23.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.3145, allocations: 12.19 kB / 400.1 MB, free: 23.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.3148, allocations: 31.98 kB / 400.1 MB, free: 23.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.3149, allocations: 16.11 kB / 400.1 MB, free: 23.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3149, allocations: 11.98 kB / 400.1 MB, free: 23.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001882/0.3151, allocations: 194 kB / 400.3 MB, free: 23.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3151, allocations: 0 / 400.3 MB, free: 23.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007422/0.3158, allocations: 155.7 kB / 400.5 MB, free: 23.27 MB / 298.7 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.0001581/0.316, allocations: 111.1 kB / 400.6 MB, free: 23.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.3175, allocations: 0.8892 MB / 401.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3175, allocations: 0 / 401.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007147/0.3182, allocations: 447 kB / 401.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.3187, allocations: 64.19 kB / 402 MB, free: 21.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.3199, allocations: 0.7472 MB / 402.7 MB, free: 20.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.3201, allocations: 0.7722 MB / 403.5 MB, free: 20.13 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.3202, allocations: 30.97 kB / 403.5 MB, free: 20.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.3203, allocations: 19.44 kB / 403.5 MB, free: 20.08 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.3203, allocations: 0 / 403.5 MB, free: 20.08 MB / 298.7 MB Notification: Performance of Templates: time 0.00837/0.3287, allocations: 4.199 MB / 407.7 MB, free: 15.88 MB / 298.7 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches