Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001719/0.001718, allocations: 195.7 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 229.5 MB / 247.7 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 95.25 kB / 299.9 MB, free: 5.375 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000252/0.0002521, allocations: 4 kB / 360.7 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2318, allocations: 51.41 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002982/0.2348, allocations: 2.65 MB / 414.7 MB, free: 23.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.2363, allocations: 0.9946 MB / 415.7 MB, free: 22.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.2365, allocations: 7.094 kB / 415.7 MB, free: 22.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.2367, allocations: 39.69 kB / 415.8 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.237, allocations: 95.3 kB / 415.8 MB, free: 22.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.2373, allocations: 115.8 kB / 416 MB, free: 21.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.2376, allocations: 429.1 kB / 416.4 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.2378, allocations: 115.6 kB / 416.5 MB, free: 21.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.2381, allocations: 147.3 kB / 416.6 MB, free: 21.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.2383, allocations: 171.1 kB / 416.8 MB, free: 21.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.2383, allocations: 16 kB / 416.8 MB, free: 21.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.571e-05/0.2384, allocations: 20 kB / 416.8 MB, free: 21.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.2384, allocations: 67.69 kB / 416.9 MB, free: 21.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2386, allocations: 184.8 kB / 417.1 MB, free: 20.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.2389, allocations: 467.7 kB / 417.5 MB, free: 20.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2389, allocations: 4 kB / 417.5 MB, free: 20.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2389, allocations: 0 / 417.5 MB, free: 20.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.2389, allocations: 0 / 417.5 MB, free: 20.37 MB / 298.7 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.001023/0.2399, allocations: 0.6719 MB / 418.2 MB, free: 19.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.24, allocations: 12.03 kB / 418.2 MB, free: 19.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.701e-05/0.24, allocations: 36.56 kB / 418.3 MB, free: 19.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.2403, allocations: 306.7 kB / 418.6 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.2404, allocations: 24.92 kB / 418.6 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.2404, allocations: 28.38 kB / 418.6 MB, free: 19.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006212/0.241, allocations: 359.6 kB / 419 MB, free: 18.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2411, allocations: 0 / 419 MB, free: 18.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.2411, allocations: 15.98 kB / 419 MB, free: 18.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2411, allocations: 4 kB / 419 MB, free: 18.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007152/0.2418, allocations: 338 kB / 419.3 MB, free: 18.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.2436, allocations: 1.321 MB / 420.6 MB, free: 17.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005791/0.2442, allocations: 258.4 kB / 420.9 MB, free: 16.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.2445, allocations: 124.8 kB / 421 MB, free: 16.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.2445, allocations: 0 / 421 MB, free: 16.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004353/0.2449, allocations: 210 kB / 421.2 MB, free: 16.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.903e-06/0.245, allocations: 3.984 kB / 421.2 MB, free: 16.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.002115/0.2471, allocations: 0.7643 MB / 422 MB, free: 15.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.2471, allocations: 106.8 kB / 422.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.2474, allocations: 291 kB / 422.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.2474, allocations: 33.7 kB / 422.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/0.2475, allocations: 211.5 kB / 422.6 MB, free: 15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.2476, allocations: 47.34 kB / 422.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.2476, allocations: 4 kB / 422.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.2477, allocations: 346.8 kB / 423 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.248, allocations: 123.9 kB / 423.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.2484, allocations: 227.9 kB / 423.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006391/0.249, allocations: 356.9 kB / 423.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.249, allocations: 0 / 423.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001131/0.2502, allocations: 0.5141 MB / 424.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.2502, allocations: 41.62 kB / 424.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2502, allocations: 8 kB / 424.3 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003411/0.2506, allocations: 88.86 kB / 424.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.2508, allocations: 63.84 kB / 424.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.2529, allocations: 1.83 MB / 426.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.2532, allocations: 71.64 kB / 426.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.2532, allocations: 12 kB / 426.3 MB, free: 11.03 MB / 298.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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.0001381/0.2534, allocations: 149.7 kB / 426.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.2534, allocations: 27.72 kB / 426.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.2535, allocations: 33.86 kB / 426.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2535, allocations: 0 / 426.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.2535, allocations: 0 / 426.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2535, allocations: 3.938 kB / 426.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.2538, allocations: 349.3 kB / 426.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2538, allocations: 0 / 426.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.254, allocations: 32.09 kB / 426.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002881/0.2542, allocations: 100.8 kB / 427 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.2543, allocations: 4 kB / 427 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/0.2559, allocations: 1.702 MB / 428.7 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.256, allocations: 0 / 428.7 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.2572, allocations: 0.5442 MB / 429.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.2572, allocations: 108.7 kB / 429.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.2573, allocations: 8 kB / 429.4 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.2575, allocations: 39.97 kB / 429.4 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.2576, allocations: 20.03 kB / 429.4 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.2576, allocations: 11.98 kB / 429.4 MB, free: 7.676 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.2578, allocations: 206 kB / 429.6 MB, free: 7.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2578, allocations: 0 / 429.6 MB, free: 7.477 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003452/0.2581, allocations: 87.75 kB / 429.7 MB, free: 7.391 MB / 298.7 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.0001301/0.2583, allocations: 103.2 kB / 429.8 MB, free: 7.281 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008632/0.2592, allocations: 477.8 kB / 430.3 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2592, allocations: 0 / 430.3 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.2596, allocations: 263 kB / 430.5 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.2599, allocations: 56.8 kB / 430.6 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009424/0.2609, allocations: 0.7367 MB / 431.3 MB, free: 5.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.261, allocations: 0.7641 MB / 432.1 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.2612, allocations: 30.97 kB / 432.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.2612, allocations: 19.44 kB / 432.2 MB, free: 4.867 MB / 298.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2612, allocations: 0 / 432.2 MB, free: 4.867 MB / 298.7 MB Notification: Performance of Templates: time 0.006244/0.2675, allocations: 4.047 MB / 436.2 MB, free: 0.8477 MB / 298.7 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches