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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001734, allocations: 59.91 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2521, allocations: 50.54 MB / 408.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004654/0.2568, allocations: 3.099 MB / 411.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2584, allocations: 0.7987 MB / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.2586, allocations: 7.938 kB / 412.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.2588, allocations: 55.48 kB / 412.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.2591, allocations: 111 kB / 412.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.2594, allocations: 131.8 kB / 413 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005099/0.2599, allocations: 454.3 kB / 413.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.2602, allocations: 138.8 kB / 413.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003132/0.2605, allocations: 187.3 kB / 413.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.2608, allocations: 187.2 kB / 413.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/0.2609, allocations: 44 kB / 414 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.2609, allocations: 44 kB / 414 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.328e-05/0.261, allocations: 91.67 kB / 414.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.2612, allocations: 199.1 kB / 414.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005771/0.2618, allocations: 489.2 kB / 414.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.2618, allocations: 4 kB / 414.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2618, allocations: 0 / 414.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.2618, allocations: 0 / 414.8 MB, free: 11.49 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.001352/0.2632, allocations: 0.7146 MB / 415.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2632, allocations: 12.03 kB / 415.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.2633, allocations: 62.72 kB / 415.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.701e-05/0.2634, allocations: 40.7 kB / 415.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.2639, allocations: 314.8 kB / 415.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.264, allocations: 24.94 kB / 415.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.264, allocations: 28.12 kB / 416 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/0.2648, allocations: 351.5 kB / 416.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.2648, allocations: 3.984 kB / 416.3 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.2648, allocations: 12 kB / 416.3 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2649, allocations: 8 kB / 416.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009194/0.2658, allocations: 298 kB / 416.6 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.268, allocations: 1.279 MB / 417.9 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006667/0.2687, allocations: 226.4 kB / 418.1 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.269, allocations: 120.8 kB / 418.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.2691, allocations: 8.25 kB / 418.3 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004841/0.2696, allocations: 181.8 kB / 418.4 MB, free: 7.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.2696, allocations: 0 / 418.4 MB, free: 7.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002288/0.2719, allocations: 0.6825 MB / 419.1 MB, free: 6.895 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/0.272, allocations: 110.8 kB / 419.2 MB, free: 6.762 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.2723, allocations: 295 kB / 419.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.2724, allocations: 33.64 kB / 419.5 MB, free: 6.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.2725, allocations: 219.9 kB / 419.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.2726, allocations: 51.58 kB / 419.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.2727, allocations: 57.66 kB / 419.9 MB, free: 6.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.2729, allocations: 342.7 kB / 420.2 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.2733, allocations: 115.9 kB / 420.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.2737, allocations: 211.9 kB / 420.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007597/0.2745, allocations: 326 kB / 420.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2745, allocations: 0 / 420.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001255/0.2758, allocations: 494.5 kB / 421.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.2758, allocations: 37.69 kB / 421.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.2758, allocations: 4 kB / 421.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/0.2762, allocations: 88.86 kB / 421.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.2765, allocations: 51.91 kB / 421.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.2793, allocations: 1.998 MB / 423.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.2797, allocations: 59.86 kB / 423.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.2797, allocations: 8 kB / 423.6 MB, free: 2.141 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.0001888/0.2799, allocations: 157.3 kB / 423.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.28, allocations: 31.8 kB / 423.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/0.28, allocations: 29.81 kB / 423.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.28, allocations: 4 kB / 423.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.28, allocations: 7.984 kB / 423.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.28, allocations: 0 / 423.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.2804, allocations: 333.4 kB / 424.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2804, allocations: 4 kB / 424.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.2806, allocations: 31.95 kB / 424.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002725/0.2809, allocations: 76.81 kB / 424.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.2809, allocations: 11.92 kB / 424.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/0.2833, allocations: 1.813 MB / 426.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2833, allocations: 0 / 426.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.2847, allocations: 0.4892 MB / 426.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.529e-05/0.2848, allocations: 108.9 kB / 426.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.2848, allocations: 7.938 kB / 426.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.2851, allocations: 36.02 kB / 426.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.2852, allocations: 23.98 kB / 426.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.2852, allocations: 3.984 kB / 426.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002229/0.2854, allocations: 210 kB / 426.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2854, allocations: 0 / 426.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.2858, allocations: 91.78 kB / 427 MB, free: 14.45 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.001753/0.2876, allocations: 1.042 MB / 428.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009731/0.2886, allocations: 445.8 kB / 428.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2886, allocations: 0 / 428.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.2891, allocations: 245.8 kB / 428.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.2894, allocations: 57.55 kB / 428.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005558/0.295, allocations: 3.318 MB / 432.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.2954, allocations: 0.7639 MB / 432.9 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.2955, allocations: 30.97 kB / 432.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.2957, allocations: 91.41 kB / 433 MB, free: 8.223 MB / 350.1 MB Notification: Performance of SimCode: time 2.374e-06/0.2957, allocations: 0 / 433 MB, free: 8.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03732/0.333, allocations: 7.382 MB / 440.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.25, allocations: 15.91 kB / 440.4 MB, free: 0.9961 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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