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.001181/0.00118, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3025, allocations: 50.55 MB / 409.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004103/0.3066, allocations: 3.089 MB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3081, allocations: 0.7987 MB / 413.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.3084, allocations: 7.938 kB / 413.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.3086, allocations: 51.5 kB / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.3089, allocations: 123 kB / 413.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.3092, allocations: 127.8 kB / 413.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004918/0.3098, allocations: 454.3 kB / 413.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.31, allocations: 146.8 kB / 414.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.3104, allocations: 175.3 kB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.3107, allocations: 195.2 kB / 414.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.446e-05/0.3107, allocations: 47.94 kB / 414.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.074e-05/0.3108, allocations: 44 kB / 414.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.308e-05/0.3109, allocations: 87.69 kB / 414.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.3111, allocations: 195.1 kB / 414.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.3116, allocations: 499.5 kB / 415.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3116, allocations: 0 / 415.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3116, allocations: 0 / 415.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.3116, allocations: 3.984 kB / 415.3 MB, free: 11.54 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.001455/0.3131, allocations: 0.7071 MB / 416 MB, free: 10.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3131, allocations: 8.031 kB / 416 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.684e-05/0.3132, allocations: 44.41 kB / 416 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.3137, allocations: 310.7 kB / 416.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3137, allocations: 20.94 kB / 416.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.3138, allocations: 28.38 kB / 416.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008091/0.3146, allocations: 355.5 kB / 416.7 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3146, allocations: 0 / 416.7 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.3146, allocations: 16 kB / 416.8 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3147, allocations: 8 kB / 416.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008228/0.3155, allocations: 298 kB / 417.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.3178, allocations: 1.271 MB / 418.3 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006869/0.3185, allocations: 234.3 kB / 418.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.3189, allocations: 116.8 kB / 418.7 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.3189, allocations: 3.984 kB / 418.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004433/0.3194, allocations: 181.9 kB / 418.8 MB, free: 7.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.3194, allocations: 8 kB / 418.9 MB, free: 7.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002316/0.3217, allocations: 0.6893 MB / 419.5 MB, free: 7.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.3218, allocations: 102.8 kB / 419.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.3221, allocations: 299 kB / 419.9 MB, free: 6.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.3221, allocations: 33.7 kB / 420 MB, free: 6.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3223, allocations: 207.5 kB / 420.2 MB, free: 6.352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.3223, allocations: 43.36 kB / 420.2 MB, free: 6.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.3224, allocations: 57.55 kB / 420.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3226, allocations: 342.8 kB / 420.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.323, allocations: 115.9 kB / 420.7 MB, free: 5.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.3234, allocations: 207.9 kB / 420.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000729/0.3241, allocations: 330.6 kB / 421.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3241, allocations: 0 / 421.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001233/0.3254, allocations: 487.7 kB / 421.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.3254, allocations: 37.64 kB / 421.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.3254, allocations: 4 kB / 421.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/0.3258, allocations: 88.86 kB / 421.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.3261, allocations: 55.91 kB / 421.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/0.3288, allocations: 2.001 MB / 423.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.3292, allocations: 51.81 kB / 424 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.3292, allocations: 16 kB / 424 MB, free: 2.285 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.0001777/0.3294, allocations: 153.7 kB / 424.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.3295, allocations: 27.62 kB / 424.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.3295, allocations: 29.86 kB / 424.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3296, allocations: 7.938 kB / 424.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3296, allocations: 0 / 424.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3296, allocations: 8.031 kB / 424.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.33, allocations: 337.4 kB / 424.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.33, allocations: 3.938 kB / 424.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.3302, allocations: 27.97 kB / 424.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003108/0.3305, allocations: 84.94 kB / 424.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.3305, allocations: 7.984 kB / 424.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/0.3334, allocations: 1.801 MB / 426.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3334, allocations: 0 / 426.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.3355, allocations: 0.4973 MB / 426.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.3356, allocations: 104.8 kB / 427 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.834e-05/0.3357, allocations: 7.938 kB / 427 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.336, allocations: 40.02 kB / 427.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.3361, allocations: 15.98 kB / 427.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.3361, allocations: 7.984 kB / 427.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.3363, allocations: 206 kB / 427.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3364, allocations: 0 / 427.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004491/0.3368, allocations: 87.84 kB / 427.4 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.0001752/0.337, allocations: 110.6 kB / 427.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.338, allocations: 456.8 kB / 428 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.338, allocations: 0 / 428 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.3385, allocations: 238.5 kB / 428.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.3388, allocations: 65.53 kB / 428.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.3401, allocations: 0.5661 MB / 428.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.3405, allocations: 0.7677 MB / 429.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.3406, allocations: 30.97 kB / 429.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.3407, allocations: 27.42 kB / 429.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3407, allocations: 4 kB / 429.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Templates: time 0.009368/0.3501, allocations: 4.482 MB / 434.1 MB, free: 7.828 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/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