Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 203.6 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 47.92 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2525, allocations: 53.37 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004608/0.2572, allocations: 2.878 MB / 434 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.2586, allocations: 0.7715 MB / 434.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.2588, allocations: 7.938 kB / 434.8 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.2589, allocations: 51.5 kB / 434.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.2592, allocations: 123 kB / 434.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.2595, allocations: 131.8 kB / 435.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005012/0.26, allocations: 450.3 kB / 435.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.2603, allocations: 105.1 kB / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.2606, allocations: 179.3 kB / 435.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.2608, allocations: 195.2 kB / 436 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.2609, allocations: 44 kB / 436 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.032e-05/0.261, allocations: 48 kB / 436.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.261, allocations: 87.69 kB / 436.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.2612, allocations: 159.2 kB / 436.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.2617, allocations: 0.4942 MB / 436.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2617, allocations: 4 kB / 436.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2617, allocations: 0 / 436.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2617, allocations: 0 / 436.8 MB, free: 0.9219 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.001404/0.2631, allocations: 0.6355 MB / 437.4 MB, free: 252 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2632, allocations: 8.031 kB / 437.5 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.16e-05/0.2633, allocations: 66.72 kB / 437.5 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.2633, allocations: 40.64 kB / 437.6 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.2638, allocations: 257 kB / 437.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.2639, allocations: 21.03 kB / 437.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.2639, allocations: 32.06 kB / 437.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007838/0.2647, allocations: 404.4 kB / 438.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2647, allocations: 0 / 438.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.2647, allocations: 12 kB / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.2647, allocations: 11.98 kB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008304/0.2656, allocations: 294.4 kB / 438.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.2678, allocations: 1.159 MB / 439.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006689/0.2684, allocations: 222.4 kB / 439.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.2688, allocations: 109 kB / 440 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2688, allocations: 0 / 440 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005238/0.2693, allocations: 253.2 kB / 440.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.2693, allocations: 0 / 440.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002284/0.2716, allocations: 0.6019 MB / 440.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.2717, allocations: 110.7 kB / 441 MB, free: 12.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.272, allocations: 304.1 kB / 441.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.272, allocations: 29.7 kB / 441.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.2722, allocations: 212 kB / 441.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.2723, allocations: 63.5 kB / 441.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.2724, allocations: 53.66 kB / 441.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2725, allocations: 338.8 kB / 442 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.2729, allocations: 141.6 kB / 442.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004668/0.2734, allocations: 289.8 kB / 442.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007526/0.2741, allocations: 327.7 kB / 442.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2741, allocations: 4 kB / 442.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001303/0.2754, allocations: 0.5002 MB / 443.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.2755, allocations: 41.75 kB / 443.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2755, allocations: 4 kB / 443.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003717/0.2758, allocations: 88.73 kB / 443.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.2761, allocations: 51.97 kB / 443.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.2787, allocations: 1.882 MB / 445.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.2791, allocations: 63.8 kB / 445.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.2791, allocations: 8 kB / 445.4 MB, free: 7.82 MB / 350.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.000173/0.2793, allocations: 153.8 kB / 445.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.2793, allocations: 23.86 kB / 445.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.951e-05/0.2794, allocations: 29.73 kB / 445.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2794, allocations: 4 kB / 445.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.2794, allocations: 0 / 445.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2794, allocations: 4.031 kB / 445.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.2797, allocations: 280.5 kB / 445.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2797, allocations: 7.938 kB / 445.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.2799, allocations: 31.95 kB / 445.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002671/0.2801, allocations: 72.94 kB / 446 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.2802, allocations: 19.86 kB / 446 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/0.2825, allocations: 1.69 MB / 447.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2825, allocations: 0 / 447.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.284, allocations: 0.4891 MB / 448.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.284, allocations: 31.81 kB / 448.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.2841, allocations: 11.94 kB / 448.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.2843, allocations: 27.97 kB / 448.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.2844, allocations: 24.02 kB / 448.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.2844, allocations: 8 kB / 448.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002319/0.2846, allocations: 215 kB / 448.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2846, allocations: 0 / 448.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003914/0.285, allocations: 83.84 kB / 448.5 MB, free: 4.441 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.001808/0.2868, allocations: 1.035 MB / 449.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.2879, allocations: 463.6 kB / 450 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2879, allocations: 0 / 450 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.2884, allocations: 239 kB / 450.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.2888, allocations: 65.02 kB / 450.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005869/0.2946, allocations: 3.425 MB / 453.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.2948, allocations: 163.7 kB / 453.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.2949, allocations: 30.95 kB / 453.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.295, allocations: 95.41 kB / 454 MB, free: 14.68 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2951, allocations: 0 / 454 MB, free: 14.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03918/0.3342, allocations: 8.169 MB / 462.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.43, allocations: 3.375 kB / 462.2 MB, free: 6.695 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! Error: Could not read variable derivative.opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.84134820100735]