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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001706, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002086/0.002086, allocations: 210.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 55.91 kB / 377.8 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2476, allocations: 53.42 MB / 431.2 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004662/0.2523, allocations: 2.893 MB / 434.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2536, allocations: 0.7325 MB / 434.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.2538, allocations: 7.938 kB / 434.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.254, allocations: 55.5 kB / 434.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.2542, allocations: 127 kB / 435 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.2545, allocations: 111.8 kB / 435.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005477/0.2551, allocations: 458.1 kB / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.2553, allocations: 93.11 kB / 435.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003306/0.2556, allocations: 187.3 kB / 435.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.2559, allocations: 167.2 kB / 436 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.256, allocations: 48 kB / 436 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.256, allocations: 44 kB / 436.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.082e-05/0.2561, allocations: 95.62 kB / 436.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.2563, allocations: 167.2 kB / 436.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005508/0.2568, allocations: 0.502 MB / 436.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2568, allocations: 0 / 436.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2568, allocations: 0 / 436.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.2569, allocations: 0 / 436.8 MB, free: 0.7852 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001243/0.2581, allocations: 0.6276 MB / 437.5 MB, free: 120 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2581, allocations: 12.03 kB / 437.5 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.167e-05/0.2582, allocations: 62.73 kB / 437.5 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.2583, allocations: 37.69 kB / 437.6 MB, free: 0 / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.2588, allocations: 260.9 kB / 437.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.2588, allocations: 25.03 kB / 437.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/0.2588, allocations: 35.17 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000705/0.2596, allocations: 383.1 kB / 438.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2596, allocations: 0 / 438.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.2596, allocations: 12 kB / 438.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.2596, allocations: 7.938 kB / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007166/0.2603, allocations: 282.5 kB / 438.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.2625, allocations: 1.091 MB / 439.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.263, allocations: 198.4 kB / 439.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.2633, allocations: 96.8 kB / 439.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.2634, allocations: 8 kB / 439.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005288/0.2639, allocations: 268 kB / 440.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 2.024e-06/0.2639, allocations: 0 / 440.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001633/0.2655, allocations: 464.4 kB / 440.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.289e-05/0.2656, allocations: 132.5 kB / 440.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.2659, allocations: 300.1 kB / 441.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.266, allocations: 29.7 kB / 441.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.2661, allocations: 216.3 kB / 441.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.2662, allocations: 59.52 kB / 441.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.2663, allocations: 61.66 kB / 441.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2664, allocations: 334.8 kB / 441.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.2668, allocations: 129.9 kB / 441.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/0.2672, allocations: 308.4 kB / 442.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006313/0.2678, allocations: 301.9 kB / 442.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2678, allocations: 0 / 442.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001034/0.2689, allocations: 468.6 kB / 442.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.2689, allocations: 33.69 kB / 443 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2689, allocations: 8.25 kB / 443 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000344/0.2693, allocations: 84.78 kB / 443.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.2695, allocations: 55.88 kB / 443.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.2717, allocations: 1.68 MB / 444.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.272, allocations: 55.88 kB / 444.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.272, allocations: 12 kB / 444.9 MB, free: 8.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,derivative.opAmp.satNeg,derivative.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.2722, allocations: 162.3 kB / 445 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.2722, allocations: 23.86 kB / 445 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.657e-05/0.2723, allocations: 34.14 kB / 445.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2723, allocations: 4 kB / 445.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.2723, allocations: 0 / 445.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2723, allocations: 0 / 445.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.2726, allocations: 280.5 kB / 445.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2726, allocations: 7.938 kB / 445.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.2728, allocations: 35.91 kB / 445.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002645/0.273, allocations: 72.78 kB / 445.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.273, allocations: 8 kB / 445.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.275, allocations: 1.703 MB / 447.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.275, allocations: 0 / 447.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.2761, allocations: 436.2 kB / 447.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.2762, allocations: 35.77 kB / 447.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.2762, allocations: 4 kB / 447.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.2764, allocations: 36.02 kB / 447.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.2765, allocations: 27.91 kB / 447.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.2765, allocations: 7.984 kB / 447.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002154/0.2767, allocations: 211 kB / 447.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2767, allocations: 0 / 447.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000346/0.2771, allocations: 91.89 kB / 448 MB, free: 4.84 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: 5 ($whenCondition1,derivative.opAmp.satPos,derivative.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00145/0.2785, allocations: 0.967 MB / 449 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000918/0.2795, allocations: 459.5 kB / 449.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2795, allocations: 0 / 449.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004384/0.2799, allocations: 235.2 kB / 449.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.2802, allocations: 63.41 kB / 449.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006161/0.2864, allocations: 3.427 MB / 453.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.2866, allocations: 169.1 kB / 453.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.2867, allocations: 26.97 kB / 453.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.2868, allocations: 99.39 kB / 453.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2868, allocations: 0 / 453.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04138/0.3282, allocations: 8.455 MB / 461.9 MB, free: 6.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.7, allocations: 11.38 kB / 461.9 MB, free: 6.836 MB / 366.1 MB " [Timeout remaining time 647] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable derivative.opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! Error: Could not read variable derivative.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.274406199809164]