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.001141/0.001141, allocations: 107.9 kB / 18.4 MB, free: 4.633 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.001139/0.001139, allocations: 190.5 kB / 19.33 MB, free: 3.707 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.276/1.276, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001313/0.001313, allocations: 51.92 kB / 329.2 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07915/0.08047, allocations: 46.6 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003727/0.08424, allocations: 2.929 MB / 378.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.08545, allocations: 0.7758 MB / 379.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.08565, allocations: 11.94 kB / 379.6 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.08584, allocations: 63.42 kB / 379.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.08604, allocations: 95.12 kB / 379.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.08632, allocations: 119.8 kB / 379.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.0867, allocations: 414.1 kB / 380.2 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.08692, allocations: 131.4 kB / 380.4 MB, free: 0 / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.2478, allocations: 143.2 kB / 380.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.248, allocations: 171 kB / 380.7 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.248, allocations: 32.75 kB / 380.7 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.818e-05/0.2481, allocations: 33.28 kB / 380.7 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.2482, allocations: 81.31 kB / 380.8 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.2483, allocations: 171.1 kB / 381 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.2487, allocations: 378.5 kB / 381.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2487, allocations: 0 / 381.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2487, allocations: 3.938 kB / 381.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.2488, allocations: 0 / 381.4 MB, free: 9.684 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.0008953/0.2497, allocations: 0.6361 MB / 382 MB, free: 9.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2497, allocations: 13.23 kB / 382 MB, free: 9.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.2498, allocations: 38.25 kB / 382 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.2501, allocations: 293.6 kB / 382.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.2501, allocations: 22.19 kB / 382.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.2502, allocations: 29.36 kB / 382.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.2508, allocations: 305.8 kB / 382.7 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2508, allocations: 4.719 kB / 382.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.2508, allocations: 13.66 kB / 382.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.2508, allocations: 10.88 kB / 382.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006885/0.2515, allocations: 295.5 kB / 383 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.2532, allocations: 1.082 MB / 384.1 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007852/0.254, allocations: 289.7 kB / 384.4 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004231/0.2544, allocations: 179 kB / 384.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.2545, allocations: 5.438 kB / 384.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.2545, allocations: 41.89 kB / 384.6 MB, free: 8.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.2545, allocations: 0 / 384.6 MB, free: 8.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002296/0.2568, allocations: 0.8142 MB / 385.4 MB, free: 8.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.2569, allocations: 62.16 kB / 385.5 MB, free: 8.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.2571, allocations: 274.2 kB / 385.7 MB, free: 7.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.2571, allocations: 29.92 kB / 385.8 MB, free: 7.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.348e-05/0.2572, allocations: 204.6 kB / 386 MB, free: 7.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.2573, allocations: 67.97 kB / 386 MB, free: 7.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.2574, allocations: 59.28 kB / 386.1 MB, free: 7.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.2575, allocations: 333.9 kB / 386.4 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.2577, allocations: 96.28 kB / 386.5 MB, free: 7.383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.2579, allocations: 182.2 kB / 386.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.2584, allocations: 284.8 kB / 387 MB, free: 7.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2584, allocations: 1.094 kB / 387 MB, free: 7.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001225/0.2597, allocations: 0.5064 MB / 387.5 MB, free: 6.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2597, allocations: 6.531 kB / 387.5 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2597, allocations: 3.938 kB / 387.5 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004577/0.2602, allocations: 127.9 kB / 387.6 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.2603, allocations: 51.3 kB / 387.6 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/0.2641, allocations: 3.655 MB / 391.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.2644, allocations: 40.56 kB / 391.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.2644, allocations: 17.34 kB / 391.4 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000161/0.2646, allocations: 164.9 kB / 391.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001259/0.2647, allocations: 153.4 kB / 391.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002137/0.2649, allocations: 232.5 kB / 391.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.2649, allocations: 1.906 kB / 391.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004247/0.2654, allocations: 309.4 kB / 392.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.2654, allocations: 6.656 kB / 392.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2654, allocations: 3.406 kB / 392.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/0.2655, allocations: 53.22 kB / 392.3 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.2657, allocations: 60.27 kB / 392.3 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.267, allocations: 2.968 MB / 395.3 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.2671, allocations: 26.25 kB / 395.3 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.2672, allocations: 10.03 kB / 395.3 MB, free: 180 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.0001258/0.2673, allocations: 207.9 kB / 395.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.2674, allocations: 28.77 kB / 395.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.051e-05/0.2674, allocations: 30.81 kB / 395.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2674, allocations: 2.469 kB / 395.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2674, allocations: 1.156 kB / 395.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2675, allocations: 5.375 kB / 395.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.2689, allocations: 0.7811 MB / 396.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2689, allocations: 1.719 kB / 396.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.2691, allocations: 27.23 kB / 396.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004003/0.2695, allocations: 133.3 kB / 396.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2695, allocations: 2.25 kB / 396.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00412/0.2736, allocations: 3.63 MB / 400.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2736, allocations: 0 / 400.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.2749, allocations: 0.566 MB / 400.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.2749, allocations: 102.3 kB / 400.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.275, allocations: 6.859 kB / 400.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.2752, allocations: 29.48 kB / 400.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.2753, allocations: 18.75 kB / 400.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.2753, allocations: 7.719 kB / 400.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.2755, allocations: 191.2 kB / 401.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2755, allocations: 0 / 401.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007149/0.2762, allocations: 161.1 kB / 401.2 MB, free: 11.78 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.000118/0.2763, allocations: 104.3 kB / 401.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.2778, allocations: 0.8733 MB / 402.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2779, allocations: 4.188 kB / 402.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007497/0.2786, allocations: 424.4 kB / 402.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.279, allocations: 47.75 kB / 402.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.2801, allocations: 0.6116 MB / 403.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.2805, allocations: 0.7706 MB / 404.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.2805, allocations: 21.53 kB / 404.1 MB, free: 9.766 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2805, allocations: 1.344 kB / 404.1 MB, free: 9.766 MB / 334.1 MB Notification: Performance of Templates: time 0.007737/0.2883, allocations: 5.748 MB / 409.8 MB, free: 7.883 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