Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.89 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2561, allocations: 50.54 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004866/0.261, allocations: 3.096 MB / 413.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.2627, allocations: 0.7909 MB / 413.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00035/0.2631, allocations: 7.938 kB / 413.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.2634, allocations: 55.5 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.2638, allocations: 115 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.2642, allocations: 127.8 kB / 414.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007261/0.2649, allocations: 458.2 kB / 414.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.2652, allocations: 142.8 kB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.2657, allocations: 179.3 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.266, allocations: 191.2 kB / 415.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.497e-05/0.2661, allocations: 47.94 kB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.2662, allocations: 44 kB / 415.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.513e-05/0.2663, allocations: 87.67 kB / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.2665, allocations: 195.1 kB / 415.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005311/0.2671, allocations: 499.5 kB / 416 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2671, allocations: 0 / 416 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2671, allocations: 0 / 416 MB, free: 11.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.2671, allocations: 0 / 416 MB, free: 11.57 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001585/0.2687, allocations: 0.711 MB / 416.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2687, allocations: 12.03 kB / 416.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.2689, allocations: 40.47 kB / 416.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.2694, allocations: 306.7 kB / 417 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.2694, allocations: 20.94 kB / 417 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.2695, allocations: 28.38 kB / 417.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007941/0.2703, allocations: 355.5 kB / 417.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2703, allocations: 3.938 kB / 417.4 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.2704, allocations: 12 kB / 417.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.2704, allocations: 8 kB / 417.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008122/0.2712, allocations: 302 kB / 417.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.2735, allocations: 1.278 MB / 419 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.2741, allocations: 222.4 kB / 419.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.2744, allocations: 120.7 kB / 419.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.2745, allocations: 0 / 419.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004714/0.275, allocations: 185.9 kB / 419.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/0.275, allocations: 0 / 419.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002318/0.2773, allocations: 0.6939 MB / 420.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/0.2774, allocations: 102.8 kB / 420.3 MB, free: 6.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.2777, allocations: 295 kB / 420.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.2778, allocations: 33.7 kB / 420.6 MB, free: 6.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.2779, allocations: 211.5 kB / 420.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.278, allocations: 43.36 kB / 420.9 MB, free: 6.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.89e-05/0.2781, allocations: 53.61 kB / 420.9 MB, free: 6.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2783, allocations: 346.8 kB / 421.3 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.2786, allocations: 115.8 kB / 421.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.279, allocations: 207.9 kB / 421.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007119/0.2798, allocations: 330.1 kB / 421.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2798, allocations: 0 / 421.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00126/0.281, allocations: 487.7 kB / 422.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.2811, allocations: 37.64 kB / 422.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2811, allocations: 4 kB / 422.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003903/0.2815, allocations: 84.86 kB / 422.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.2818, allocations: 55.91 kB / 422.6 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.2844, allocations: 2.005 MB / 424.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.2848, allocations: 47.75 kB / 424.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.2848, allocations: 16 kB / 424.6 MB, free: 2.316 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.285, allocations: 161.4 kB / 424.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.2851, allocations: 31.56 kB / 424.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.2851, allocations: 29.86 kB / 424.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2851, allocations: 3.938 kB / 424.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2851, allocations: 0 / 424.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.2852, allocations: 4 kB / 424.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.2855, allocations: 341.4 kB / 425.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2855, allocations: 0 / 425.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.2857, allocations: 31.97 kB / 425.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002709/0.286, allocations: 76.81 kB / 425.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.286, allocations: 7.984 kB / 425.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.2883, allocations: 1.801 MB / 427.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2883, allocations: 0 / 427.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.2897, allocations: 0.4973 MB / 427.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.2898, allocations: 108.8 kB / 427.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/0.2898, allocations: 7.938 kB / 427.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.2901, allocations: 35.95 kB / 427.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.2902, allocations: 15.98 kB / 427.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.2902, allocations: 11.92 kB / 427.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.2904, allocations: 206 kB / 428 MB, free: 14.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2904, allocations: 4 kB / 428 MB, free: 14.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004213/0.2909, allocations: 87.84 kB / 428.1 MB, free: 14.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001639/0.291, allocations: 107.2 kB / 428.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.2921, allocations: 455.9 kB / 428.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2921, allocations: 0 / 428.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004994/0.2926, allocations: 239.2 kB / 428.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.293, allocations: 56.92 kB / 428.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.2943, allocations: 0.5974 MB / 429.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.2946, allocations: 0.7639 MB / 430.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/0.2947, allocations: 27.44 kB / 430.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.2947, allocations: 0 / 430.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Templates: time 0.008211/0.303, allocations: 5.195 MB / 435.5 MB, free: 7.117 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches