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.0009698/0.0009698, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008679/0.0008679, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.9004/0.9004, allocations: 177 MB / 204.1 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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 1.593e-06/1.593e-06, allocations: 0 / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.875e-05, allocations: 3.266 kB / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003012/0.003031, allocations: 2.9 MB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.004147, allocations: 0.7479 MB / 328.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.004286, allocations: 4 kB / 328.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.004425, allocations: 59.42 kB / 328.3 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.004604, allocations: 131 kB / 328.4 MB, free: 12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.00484, allocations: 103.8 kB / 328.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.005176, allocations: 469.9 kB / 329 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.00535, allocations: 95.41 kB / 329.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.005653, allocations: 275.3 kB / 329.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.005792, allocations: 139.6 kB / 329.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.005832, allocations: 44 kB / 329.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.791e-05/0.00587, allocations: 48 kB / 329.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.005919, allocations: 95.61 kB / 329.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.00602, allocations: 135.7 kB / 329.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.006372, allocations: 0.5063 MB / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.006374, allocations: 0 / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006375, allocations: 3.938 kB / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.006381, allocations: 0 / 330.3 MB, free: 10.12 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001087/0.007468, allocations: 0.6276 MB / 330.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.007509, allocations: 15.97 kB / 330.9 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.007557, allocations: 62.72 kB / 331 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.00761, allocations: 40.7 kB / 331 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.007904, allocations: 256.7 kB / 331.3 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.007922, allocations: 21.03 kB / 331.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.007961, allocations: 36.38 kB / 331.3 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.008388, allocations: 383.6 kB / 331.7 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.008399, allocations: 3.938 kB / 331.7 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.008422, allocations: 12 kB / 331.7 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.008435, allocations: 11.98 kB / 331.7 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.00884, allocations: 278.5 kB / 332 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.01007, allocations: 1.092 MB / 333.1 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.01038, allocations: 198.4 kB / 333.3 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.01053, allocations: 104.8 kB / 333.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.01055, allocations: 4.25 kB / 333.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002852/0.01084, allocations: 271.1 kB / 333.7 MB, free: 6.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.143e-06/0.01084, allocations: 0 / 333.7 MB, free: 6.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009134/0.01175, allocations: 461.9 kB / 334.1 MB, free: 6.047 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.01181, allocations: 132.5 kB / 334.2 MB, free: 5.887 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.01202, allocations: 300.1 kB / 334.5 MB, free: 5.578 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.01204, allocations: 33.7 kB / 334.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.01214, allocations: 212.2 kB / 334.8 MB, free: 5.328 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.01218, allocations: 67.47 kB / 334.8 MB, free: 5.262 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.766e-05/0.01225, allocations: 57.69 kB / 334.9 MB, free: 5.199 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.108e-05/0.01234, allocations: 342.7 kB / 335.2 MB, free: 4.855 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.01253, allocations: 129.9 kB / 335.4 MB, free: 4.723 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.01275, allocations: 304.4 kB / 335.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.01309, allocations: 295.6 kB / 336 MB, free: 4.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01309, allocations: 0 / 336 MB, free: 4.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005556/0.01364, allocations: 469 kB / 336.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.01367, allocations: 33.7 kB / 336.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.01367, allocations: 4.312 kB / 336.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/0.01389, allocations: 76.8 kB / 336.5 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.01403, allocations: 55.89 kB / 336.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.01559, allocations: 1.68 MB / 338.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.01574, allocations: 55.81 kB / 338.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.01576, allocations: 19.92 kB / 338.3 MB, free: 1.5 MB / 298.7 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.0001073/0.01587, allocations: 145.9 kB / 338.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.01589, allocations: 35.8 kB / 338.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.01593, allocations: 34.08 kB / 338.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01593, allocations: 7.938 kB / 338.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01593, allocations: 192 / 338.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01593, allocations: 0 / 338.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.01612, allocations: 280.5 kB / 338.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01612, allocations: 4 kB / 338.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.495e-05/0.01622, allocations: 35.97 kB / 338.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001714/0.01639, allocations: 68.78 kB / 338.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.0164, allocations: 11.94 kB / 338.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.01761, allocations: 1.692 MB / 340.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01761, allocations: 0 / 340.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.0182, allocations: 439.7 kB / 341.1 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.01823, allocations: 31.78 kB / 341.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.01825, allocations: 0 / 341.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.01837, allocations: 40.2 kB / 341.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.01843, allocations: 23.95 kB / 341.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.01844, allocations: 15.94 kB / 341.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.01859, allocations: 207.1 kB / 341.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01859, allocations: 4 kB / 341.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002279/0.01882, allocations: 95.77 kB / 341.5 MB, free: 14.16 MB / 314.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: 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.0007861/0.01961, allocations: 0.967 MB / 342.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005217/0.02013, allocations: 451.5 kB / 342.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.02013, allocations: 0 / 342.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.02036, allocations: 246 kB / 343.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.02059, allocations: 68.95 kB / 343.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.02419, allocations: 3.398 MB / 346.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.785e-05/0.02429, allocations: 165.2 kB / 346.7 MB, free: 8.605 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.812e-05/0.02437, allocations: 30.95 kB / 346.8 MB, free: 8.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.02447, allocations: 96.47 kB / 346.9 MB, free: 8.477 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.02447, allocations: 0 / 346.9 MB, free: 8.477 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.04678, allocations: 8.589 MB / 355.5 MB, free: 44 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/7.663, allocations: 10 kB / 355.5 MB, free: 40 kB / 314.7 MB " [Timeout remaining time 652] (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/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_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] "" Variables in the reference:time,derivative.c.v,derivative.opAmp.out.v,derivative.opAmp.out.i Variables in the result:time,derivative.c.v [Calling sys.exit(0), Time elapsed: 9.4666430298239]