Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001102/0.001102, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.001096/0.001096, allocations: 189.5 kB / 18.67 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 47.92 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.235, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003855/0.2389, allocations: 2.946 MB / 404.4 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2402, allocations: 0.7401 MB / 405.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.2404, allocations: 8 kB / 405.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.2405, allocations: 59.44 kB / 405.2 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.2407, allocations: 107.1 kB / 405.3 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.241, allocations: 119.8 kB / 405.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.2414, allocations: 402.3 kB / 405.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.2416, allocations: 123.4 kB / 405.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.2418, allocations: 155.4 kB / 406.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.242, allocations: 171.2 kB / 406.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.242, allocations: 32 kB / 406.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.004e-05/0.2421, allocations: 32 kB / 406.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.201e-05/0.2422, allocations: 71.75 kB / 406.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.2423, allocations: 175.1 kB / 406.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.2427, allocations: 379.8 kB / 406.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2427, allocations: 0 / 406.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2427, allocations: 0 / 406.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2427, allocations: 0 / 406.9 MB, free: 3.363 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.0009529/0.2437, allocations: 0.6393 MB / 407.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2437, allocations: 15.89 kB / 407.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.2438, allocations: 32.56 kB / 407.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.2442, allocations: 291.6 kB / 407.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.2442, allocations: 21.03 kB / 407.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.967e-05/0.2443, allocations: 36.28 kB / 407.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006167/0.2449, allocations: 345.3 kB / 408.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2449, allocations: 0 / 408.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.2449, allocations: 19.98 kB / 408.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.245, allocations: 11.98 kB / 408.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006098/0.2456, allocations: 282.4 kB / 408.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.2473, allocations: 1.166 MB / 409.8 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008179/0.2482, allocations: 294.8 kB / 410 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.2486, allocations: 180.7 kB / 410.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2487, allocations: 3.938 kB / 410.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.2487, allocations: 38.55 kB / 410.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.854e-06/0.2487, allocations: 0 / 410.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.002453/0.2512, allocations: 0.8482 MB / 411.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.2513, allocations: 63.34 kB / 411.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.2515, allocations: 270.7 kB / 411.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.2516, allocations: 29.7 kB / 411.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.2517, allocations: 203.8 kB / 411.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.2518, allocations: 71 kB / 411.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-05/0.2519, allocations: 53.7 kB / 411.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.252, allocations: 338.8 kB / 412.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.2523, allocations: 108.7 kB / 412.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.2526, allocations: 183.9 kB / 412.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.2531, allocations: 303.4 kB / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2532, allocations: 0 / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001337/0.2545, allocations: 0.5182 MB / 413.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.2545, allocations: 11.94 kB / 413.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.2545, allocations: 8.031 kB / 413.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005539/0.2551, allocations: 149.6 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.2553, allocations: 55.91 kB / 413.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004866/0.2602, allocations: 3.708 MB / 417.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.2605, allocations: 47.67 kB / 417.2 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.2605, allocations: 12 kB / 417.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002717/0.2608, allocations: 180.1 kB / 417.4 MB, free: 8.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002277/0.261, allocations: 176.4 kB / 417.6 MB, free: 8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003965/0.2614, allocations: 270.5 kB / 417.8 MB, free: 7.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.2615, allocations: 3.938 kB / 417.8 MB, free: 7.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0008684/0.2623, allocations: 410.7 kB / 418.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.2624, allocations: 8 kB / 418.2 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2624, allocations: 7.984 kB / 418.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002792/0.2626, allocations: 77.77 kB / 418.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.2629, allocations: 63.91 kB / 418.4 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/0.2656, allocations: 3.008 MB / 421.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.2659, allocations: 31.8 kB / 421.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.2659, allocations: 20 kB / 421.4 MB, free: 3.773 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (30): * Single equations (assignments): 28 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.2661, allocations: 196.1 kB / 421.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.2661, allocations: 27.72 kB / 421.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.2662, allocations: 26.17 kB / 421.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2662, allocations: 4 kB / 421.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.2662, allocations: 0 / 421.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2662, allocations: 0 / 421.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.2678, allocations: 0.8265 MB / 422.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2678, allocations: 0 / 422.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.2679, allocations: 23.98 kB / 422.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004579/0.2684, allocations: 137.6 kB / 422.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.2684, allocations: 4 kB / 422.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00392/0.2723, allocations: 3.422 MB / 426.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2724, allocations: 3.938 kB / 426.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.2738, allocations: 0.6175 MB / 426.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.59e-05/0.2739, allocations: 96.77 kB / 426.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.2739, allocations: 8 kB / 426.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.2741, allocations: 27.91 kB / 426.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.2742, allocations: 19.97 kB / 426.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.2742, allocations: 12.06 kB / 426.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001819/0.2744, allocations: 193.9 kB / 427.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2744, allocations: 0 / 427.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006464/0.2751, allocations: 155.7 kB / 427.2 MB, free: 13.59 MB / 350.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001425/0.2752, allocations: 107.2 kB / 427.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.2768, allocations: 0.9182 MB / 428.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2769, allocations: 3.938 kB / 428.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004626/0.2773, allocations: 345.3 kB / 428.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.2778, allocations: 58.45 kB / 428.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.2789, allocations: 0.6083 MB / 429.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.2792, allocations: 0.7686 MB / 430 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.2792, allocations: 23.44 kB / 430 MB, free: 10.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2792, allocations: 7.938 kB / 430 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Templates: time 0.007206/0.2865, allocations: 5.752 MB / 435.8 MB, free: 4.875 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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