Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00178/0.00178, allocations: 116.9 kB / 17.83 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00215/0.00215, allocations: 199.8 kB / 18.78 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.536/1.536, allocations: 230.4 MB / 250 MB, free: 9.086 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.84 kB / 367.4 MB, free: 7.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2654, allocations: 53.32 MB / 420.7 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004362/0.2698, allocations: 3.104 MB / 423.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2712, allocations: 0.8065 MB / 424.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.2713, allocations: 7.938 kB / 424.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.2715, allocations: 47.5 kB / 424.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.2717, allocations: 119 kB / 424.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.272, allocations: 135.7 kB / 424.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000473/0.2725, allocations: 450.3 kB / 425.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.2727, allocations: 106.9 kB / 425.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.2729, allocations: 183.3 kB / 425.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.2732, allocations: 187.2 kB / 425.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.049e-05/0.2732, allocations: 44 kB / 425.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.418e-05/0.2733, allocations: 44 kB / 425.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.34e-05/0.2734, allocations: 95.67 kB / 426 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.2736, allocations: 191.1 kB / 426.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005172/0.2741, allocations: 498 kB / 426.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2741, allocations: 4 kB / 426.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2741, allocations: 0 / 426.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.2741, allocations: 4 kB / 426.7 MB, free: 2.344 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.001349/0.2754, allocations: 0.7146 MB / 427.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2755, allocations: 8.031 kB / 427.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.922e-05/0.2756, allocations: 40.7 kB / 427.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.276, allocations: 314.8 kB / 427.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.276, allocations: 20.94 kB / 427.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.74e-05/0.2761, allocations: 24.38 kB / 427.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007543/0.2769, allocations: 363.5 kB / 428.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2769, allocations: 4 kB / 428.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.2769, allocations: 12 kB / 428.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2769, allocations: 4 kB / 428.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008264/0.2777, allocations: 306 kB / 428.5 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/0.2801, allocations: 1.275 MB / 429.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/0.2807, allocations: 222.4 kB / 430 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.2811, allocations: 108.8 kB / 430.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.2811, allocations: 0 / 430.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004733/0.2816, allocations: 186.1 kB / 430.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.2816, allocations: 0 / 430.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002335/0.2839, allocations: 0.6887 MB / 430.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.2841, allocations: 110.8 kB / 431 MB, free: 13.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004552/0.2845, allocations: 295 kB / 431.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.2845, allocations: 29.7 kB / 431.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.2847, allocations: 216 kB / 431.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.2848, allocations: 47.58 kB / 431.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2849, allocations: 57.66 kB / 431.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.285, allocations: 346.7 kB / 432 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.2854, allocations: 107.9 kB / 432.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.2859, allocations: 219.8 kB / 432.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007186/0.2866, allocations: 319.7 kB / 432.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2866, allocations: 0 / 432.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001247/0.2879, allocations: 493.6 kB / 433.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.474e-05/0.2879, allocations: 41.69 kB / 433.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2879, allocations: 8 kB / 433.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/0.2883, allocations: 80.81 kB / 433.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.2886, allocations: 55.89 kB / 433.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002964/0.2916, allocations: 2.002 MB / 435.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.2919, allocations: 55.8 kB / 435.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.292, allocations: 8 kB / 435.4 MB, free: 9.082 MB / 350.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.0002048/0.2922, allocations: 161.8 kB / 435.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.2922, allocations: 27.81 kB / 435.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.018e-05/0.2923, allocations: 25.86 kB / 435.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2923, allocations: 7.938 kB / 435.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2923, allocations: 0 / 435.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2923, allocations: 3.984 kB / 435.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.2927, allocations: 333.4 kB / 435.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2927, allocations: 4 kB / 435.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.2929, allocations: 31.97 kB / 435.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002763/0.2931, allocations: 76.8 kB / 436 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.2932, allocations: 4 kB / 436 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/0.2957, allocations: 1.825 MB / 437.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2957, allocations: 0 / 437.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.2971, allocations: 0.4893 MB / 438.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.2972, allocations: 108.9 kB / 438.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/0.2972, allocations: 4 kB / 438.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.2975, allocations: 31.91 kB / 438.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.2976, allocations: 23.97 kB / 438.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.2976, allocations: 4 kB / 438.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002425/0.2978, allocations: 218 kB / 438.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2978, allocations: 0 / 438.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003857/0.2982, allocations: 91.78 kB / 438.8 MB, free: 5.391 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.0001466/0.2984, allocations: 103.2 kB / 438.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.2994, allocations: 433.7 kB / 439.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2994, allocations: 0 / 439.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.2999, allocations: 247.2 kB / 439.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.3002, allocations: 50.98 kB / 439.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.3014, allocations: 0.5909 MB / 440.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.3018, allocations: 0.7639 MB / 441 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.3019, allocations: 34.91 kB / 441 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.302, allocations: 19.44 kB / 441 MB, free: 3.062 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.302, allocations: 0 / 441 MB, free: 3.062 MB / 350.1 MB Notification: Performance of Templates: time 0.009579/0.3116, allocations: 4.531 MB / 445.6 MB, free: 14.57 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches