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.001453/0.001453, allocations: 113.7 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001928/0.001928, allocations: 208.9 kB / 19.4 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001049, allocations: 67.89 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2218, allocations: 50.54 MB / 410 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004229/0.226, allocations: 3.092 MB / 413.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.2275, allocations: 0.8026 MB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.2278, allocations: 4 kB / 413.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.228, allocations: 55.44 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.2282, allocations: 111.1 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.2285, allocations: 135.7 kB / 414.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004345/0.229, allocations: 458.3 kB / 414.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.2292, allocations: 142.8 kB / 414.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.2295, allocations: 175.3 kB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.2297, allocations: 195.2 kB / 415.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.818e-05/0.2298, allocations: 47.94 kB / 415.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-05/0.2299, allocations: 44 kB / 415.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.2299, allocations: 87.69 kB / 415.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.2301, allocations: 191.1 kB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.2306, allocations: 0.4916 MB / 416 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2306, allocations: 0 / 416 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2306, allocations: 0 / 416 MB, free: 11.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.2307, allocations: 0 / 416 MB, free: 11.55 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.001293/0.232, allocations: 0.711 MB / 416.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.232, allocations: 8.031 kB / 416.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.829e-05/0.2321, allocations: 40.47 kB / 416.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.2325, allocations: 306.7 kB / 417 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.2326, allocations: 24.94 kB / 417 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.2326, allocations: 28.38 kB / 417.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/0.2334, allocations: 351.5 kB / 417.4 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2334, allocations: 0 / 417.4 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.2334, allocations: 12 kB / 417.4 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.2334, allocations: 12 kB / 417.4 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000793/0.2342, allocations: 302 kB / 417.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.2363, allocations: 1.267 MB / 419 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.2369, allocations: 230.4 kB / 419.2 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.2373, allocations: 112.8 kB / 419.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.2373, allocations: 8 kB / 419.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004758/0.2378, allocations: 189.8 kB / 419.5 MB, free: 7.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.2378, allocations: 0 / 419.5 MB, free: 7.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002308/0.2402, allocations: 0.6933 MB / 420.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.2402, allocations: 106.8 kB / 420.3 MB, free: 6.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.2405, allocations: 295 kB / 420.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.2406, allocations: 37.7 kB / 420.6 MB, free: 6.566 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.2407, allocations: 203.5 kB / 420.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.2408, allocations: 51.34 kB / 420.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/0.2409, allocations: 53.61 kB / 420.9 MB, free: 6.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.241, allocations: 342.7 kB / 421.3 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.2414, allocations: 115.9 kB / 421.4 MB, free: 5.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.2418, allocations: 207.9 kB / 421.6 MB, free: 5.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007332/0.2425, allocations: 334.1 kB / 421.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2425, allocations: 0 / 421.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001248/0.2438, allocations: 483.6 kB / 422.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.2439, allocations: 45.62 kB / 422.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.2439, allocations: 4 kB / 422.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.2442, allocations: 84.86 kB / 422.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.2445, allocations: 59.89 kB / 422.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.2471, allocations: 1.986 MB / 424.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.2475, allocations: 59.8 kB / 424.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.2475, allocations: 12 kB / 424.6 MB, free: 2.297 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.0001686/0.2477, allocations: 153.7 kB / 424.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.2477, allocations: 27.75 kB / 424.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.985e-05/0.2478, allocations: 29.86 kB / 424.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2478, allocations: 7.938 kB / 424.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.2478, allocations: 4 kB / 424.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2478, allocations: 3.984 kB / 424.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.2481, allocations: 341.4 kB / 425.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2481, allocations: 0 / 425.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.2483, allocations: 31.97 kB / 425.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.2486, allocations: 84.78 kB / 425.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2486, allocations: 3.984 kB / 425.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.2508, allocations: 1.809 MB / 427.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2508, allocations: 0 / 427.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.2523, allocations: 0.4973 MB / 427.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.2523, allocations: 104.8 kB / 427.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.2524, allocations: 7.938 kB / 427.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.2526, allocations: 40.02 kB / 427.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.2527, allocations: 15.98 kB / 427.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.2527, allocations: 0 / 427.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.2529, allocations: 213.9 kB / 428 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2529, allocations: 0 / 428 MB, free: 14.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003845/0.2533, allocations: 83.84 kB / 428.1 MB, free: 14.61 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.0001305/0.2535, allocations: 107.2 kB / 428.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009979/0.2545, allocations: 456.2 kB / 428.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2545, allocations: 0 / 428.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00047/0.255, allocations: 241.8 kB / 428.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.2553, allocations: 57.09 kB / 428.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.2565, allocations: 0.6051 MB / 429.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.2568, allocations: 0.7639 MB / 430.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.2569, allocations: 27.42 kB / 430.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2569, allocations: 4 kB / 430.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Templates: time 0.00688/0.2638, allocations: 5.243 MB / 435.6 MB, free: 7.043 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