Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001788/0.001788, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002047/0.002047, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.514/1.514, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.ResonanceCircuits,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 51.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1206, allocations: 53.33 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.2221/0.3427, allocations: 5.405 MB / 431.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.3466, allocations: 1.525 MB / 433.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000743/0.3473, allocations: 41.59 kB / 433.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.3478, allocations: 216.5 kB / 433.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006428/0.3484, allocations: 195.3 kB / 433.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009034/0.3493, allocations: 417.8 kB / 434.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.3505, allocations: 1.123 MB / 435.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005735/0.351, allocations: 335.5 kB / 435.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006072/0.3516, allocations: 420 kB / 436 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.3521, allocations: 431.3 kB / 436.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.3522, allocations: 83.28 kB / 436.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.3525, allocations: 107.6 kB / 436.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.3526, allocations: 213.5 kB / 436.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.353, allocations: 0.4996 MB / 437.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.3543, allocations: 1.191 MB / 438.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3543, allocations: 0 / 438.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3543, allocations: 0 / 438.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.3543, allocations: 1.188 kB / 438.5 MB, free: 5.629 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001813/0.3561, allocations: 1.344 MB / 439.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3562, allocations: 9.859 kB / 439.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.3563, allocations: 151.2 kB / 440 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/0.3567, allocations: 151 kB / 440.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.3577, allocations: 0.6651 MB / 440.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/0.3577, allocations: 77.88 kB / 440.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.3578, allocations: 97.52 kB / 441 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.3594, allocations: 1.033 MB / 442 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.3594, allocations: 7.531 kB / 442 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.924e-05/0.3595, allocations: 44.12 kB / 442.1 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.3595, allocations: 30.62 kB / 442.1 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.3606, allocations: 0.5546 MB / 442.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004409/0.365, allocations: 5.505 MB / 448.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.3656, allocations: 220.5 kB / 448.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.3659, allocations: 153.1 kB / 448.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.366, allocations: 88.16 kB / 448.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3661, allocations: 32.84 kB / 448.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.3661, allocations: 5.094 kB / 448.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.003918/0.37, allocations: 1.744 MB / 450.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.37, allocations: 85.73 kB / 450.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007992/0.3708, allocations: 0.6442 MB / 451.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.3709, allocations: 30.86 kB / 451.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.3713, allocations: 0.6159 MB / 451.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.3714, allocations: 155.1 kB / 451.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.3716, allocations: 138.3 kB / 452 MB, free: 12.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.3718, allocations: 388.4 kB / 452.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.3722, allocations: 151.1 kB / 452.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.3728, allocations: 494.9 kB / 453.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009402/0.3737, allocations: 0.7055 MB / 453.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.3737, allocations: 3.125 kB / 453.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00123/0.3749, allocations: 0.7172 MB / 454.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3749, allocations: 10.22 kB / 454.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.375, allocations: 12.62 kB / 454.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.375, allocations: 17.66 kB / 454.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/0.3756, allocations: 197.9 kB / 454.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.651e-05/0.3756, allocations: 24.81 kB / 454.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.376, allocations: 37.34 kB / 454.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.3761, allocations: 45.33 kB / 454.8 MB, free: 10.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003223/0.3764, allocations: 226.2 kB / 455 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.3765, allocations: 83.89 kB / 455.1 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.3767, allocations: 74.39 kB / 455.2 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.3767, allocations: 9.141 kB / 455.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.3767, allocations: 3.938 kB / 455.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.3767, allocations: 3.25 kB / 455.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.3789, allocations: 1.325 MB / 456.5 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3789, allocations: 1.375 kB / 456.5 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.3793, allocations: 99.92 kB / 456.6 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.3793, allocations: 8 kB / 456.6 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.3793, allocations: 13.44 kB / 456.7 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3794, allocations: 4.922 kB / 456.7 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3794, allocations: 1.375 kB / 456.7 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.3804, allocations: 0.7085 MB / 457.4 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.3806, allocations: 142.5 kB / 457.5 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.493e-05/0.3806, allocations: 14.45 kB / 457.5 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.3809, allocations: 20.8 kB / 457.5 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.381, allocations: 26.86 kB / 457.6 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.381, allocations: 18.72 kB / 457.6 MB, free: 8.516 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005183/0.3815, allocations: 423.7 kB / 458 MB, free: 8.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3815, allocations: 0 / 458 MB, free: 8.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000722/0.3823, allocations: 136 kB / 458.1 MB, free: 8.324 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00137/0.3836, allocations: 1.257 MB / 459.4 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008272/0.3845, allocations: 421.2 kB / 459.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3845, allocations: 1.469 kB / 459.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.3847, allocations: 145.7 kB / 459.9 MB, free: 7.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.3853, allocations: 69.55 kB / 460 MB, free: 7.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008767/0.394, allocations: 6.154 MB / 466.2 MB, free: 2.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/0.3947, allocations: 1.003 MB / 467.2 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002866/0.395, allocations: 95.92 kB / 467.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/0.3954, allocations: 393 kB / 467.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3954, allocations: 0 / 467.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04272/0.4382, allocations: 11.8 MB / 479.4 MB, free: 9.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.634/9.073, allocations: 12.61 kB / 479.5 MB, free: 9.77 MB / 382.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.844542662001913]