Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001652/0.001652, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002042/0.002042, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.91 kB / 359.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2406, allocations: 50.55 MB / 410 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004377/0.245, allocations: 3.088 MB / 413.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.2466, allocations: 0.8026 MB / 413.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.2468, allocations: 8 kB / 413.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.2471, allocations: 55.44 kB / 413.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.2474, allocations: 115.1 kB / 414 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.2477, allocations: 123.8 kB / 414.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005655/0.2483, allocations: 466.2 kB / 414.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.2486, allocations: 146.8 kB / 414.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003639/0.249, allocations: 175.3 kB / 414.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.2493, allocations: 187.2 kB / 415.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.361e-05/0.2493, allocations: 44 kB / 415.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.748e-05/0.2494, allocations: 51.94 kB / 415.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.756e-05/0.2495, allocations: 91.67 kB / 415.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.2498, allocations: 195.1 kB / 415.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.2503, allocations: 0.4918 MB / 416 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2503, allocations: 0 / 416 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.519e-06/0.2503, allocations: 7.938 kB / 416 MB, free: 11.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.2503, allocations: 0 / 416 MB, free: 11.69 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.001457/0.2518, allocations: 0.7071 MB / 416.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2518, allocations: 12.02 kB / 416.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.2519, allocations: 40.47 kB / 416.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.2523, allocations: 310.7 kB / 417 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.2524, allocations: 24.88 kB / 417.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.2524, allocations: 28.38 kB / 417.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007675/0.2532, allocations: 351.5 kB / 417.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2532, allocations: 0 / 417.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.2533, allocations: 16 kB / 417.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.2533, allocations: 8 kB / 417.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008521/0.2542, allocations: 302 kB / 417.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.2563, allocations: 1.256 MB / 419 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008234/0.2572, allocations: 339.5 kB / 419.3 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/0.2576, allocations: 140.8 kB / 419.5 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.2577, allocations: 3.984 kB / 419.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005185/0.2582, allocations: 197.8 kB / 419.7 MB, free: 7.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.2582, allocations: 0 / 419.7 MB, free: 7.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002227/0.2604, allocations: 0.6393 MB / 420.3 MB, free: 7.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.2605, allocations: 106.8 kB / 420.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.2608, allocations: 299.2 kB / 420.7 MB, free: 6.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.2609, allocations: 29.64 kB / 420.7 MB, free: 6.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.261, allocations: 211.9 kB / 421 MB, free: 6.406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.2611, allocations: 51.27 kB / 421 MB, free: 6.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2612, allocations: 65.59 kB / 421.1 MB, free: 6.285 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2613, allocations: 334.8 kB / 421.4 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.2617, allocations: 116.2 kB / 421.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/0.2622, allocations: 213.3 kB / 421.7 MB, free: 5.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007863/0.263, allocations: 342.8 kB / 422 MB, free: 5.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.263, allocations: 3.938 kB / 422.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001311/0.2643, allocations: 487.6 kB / 422.5 MB, free: 4.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.2643, allocations: 37.7 kB / 422.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2644, allocations: 8.062 kB / 422.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003201/0.2647, allocations: 60.81 kB / 422.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.265, allocations: 67.89 kB / 422.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.2672, allocations: 1.643 MB / 424.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.2676, allocations: 47.72 kB / 424.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.2676, allocations: 16 kB / 424.4 MB, free: 2.691 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.2678, allocations: 165.7 kB / 424.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.2678, allocations: 27.66 kB / 424.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.2679, allocations: 30.2 kB / 424.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2679, allocations: 4 kB / 424.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2679, allocations: 0 / 424.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2679, allocations: 0 / 424.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.2695, allocations: 0.7964 MB / 425.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.2695, allocations: 0 / 425.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.2698, allocations: 43.95 kB / 425.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002218/0.27, allocations: 64.84 kB / 425.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.27, allocations: 4 kB / 425.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.2721, allocations: 1.625 MB / 427.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2721, allocations: 4.031 kB / 427.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.2736, allocations: 0.5669 MB / 427.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.2737, allocations: 108.7 kB / 427.8 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.2738, allocations: 4 kB / 427.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.2741, allocations: 36.03 kB / 427.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/0.2742, allocations: 19.97 kB / 427.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2742, allocations: 4 kB / 427.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.2744, allocations: 210 kB / 428.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2744, allocations: 0 / 428.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.2748, allocations: 79.84 kB / 428.2 MB, free: 14.65 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001446/0.275, allocations: 123 kB / 428.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.276, allocations: 446.9 kB / 428.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.276, allocations: 0 / 428.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004785/0.2765, allocations: 243.1 kB / 429 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.2769, allocations: 64.02 kB / 429 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.2798, allocations: 0.8593 MB / 429.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.2801, allocations: 0.7639 MB / 430.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.389e-05/0.2802, allocations: 27.42 kB / 430.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2802, allocations: 0 / 430.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Templates: time 0.007512/0.2877, allocations: 5.297 MB / 436 MB, free: 6.762 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches