Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.0009333/0.0009333, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001059/0.001059, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9071/0.9071, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.837e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.003978/0.003996, allocations: 4.555 MB / 329.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.006137, allocations: 1.745 MB / 330.9 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.006396, allocations: 16 kB / 330.9 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.007833, allocations: 1.146 MB / 332 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009558/0.008789, allocations: 0.6246 MB / 332.7 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006905/0.009479, allocations: 0.5738 MB / 333.2 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007371/0.01022, allocations: 0.7819 MB / 334 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006298/0.01085, allocations: 0.5196 MB / 334.5 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.01128, allocations: 478.8 kB / 335 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.01154, allocations: 335 kB / 335.3 MB, free: 5.133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.39e-05/0.0116, allocations: 64 kB / 335.4 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.01195, allocations: 243.6 kB / 335.6 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.01204, allocations: 171.3 kB / 335.8 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.01219, allocations: 259.3 kB / 336.1 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000763/0.01296, allocations: 1.047 MB / 337.1 MB, free: 3.359 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.01296, allocations: 0 / 337.1 MB, free: 3.359 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01296, allocations: 0 / 337.1 MB, free: 3.359 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.01297, allocations: 4 kB / 337.1 MB, free: 3.355 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.00213/0.0151, allocations: 1.316 MB / 338.4 MB, free: 2.008 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.01513, allocations: 8.031 kB / 338.4 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.653e-05/0.01523, allocations: 127.1 kB / 338.6 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/0.018, allocations: 0.7887 MB / 339.3 MB, free: 1.078 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.01846, allocations: 360.7 kB / 339.7 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.0185, allocations: 58.38 kB / 339.8 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.181e-05/0.01858, allocations: 80.36 kB / 339.8 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008949/0.01948, allocations: 0.8309 MB / 340.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.0195, allocations: 11.94 kB / 340.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.01955, allocations: 32 kB / 340.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.01956, allocations: 16 kB / 340.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009817/0.02054, allocations: 0.8941 MB / 341.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.02297, allocations: 2.301 MB / 343.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.02414, allocations: 0.7725 MB / 344.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/0.02449, allocations: 299 kB / 345 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.447e-05/0.02457, allocations: 28.62 kB / 345 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.02459, allocations: 39.22 kB / 345 MB, free: 11.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 2.365e-06/0.02459, allocations: 0 / 345 MB, free: 11.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.002051/0.02664, allocations: 1.271 MB / 346.3 MB, free: 9.941 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.02667, allocations: 60.06 kB / 346.4 MB, free: 9.871 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.02688, allocations: 300.1 kB / 346.7 MB, free: 9.566 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.02691, allocations: 33.7 kB / 346.7 MB, free: 9.527 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.02706, allocations: 292.7 kB / 347 MB, free: 9.234 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.02718, allocations: 261.7 kB / 347.2 MB, free: 8.977 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.0273, allocations: 126.6 kB / 347.4 MB, free: 8.844 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.02739, allocations: 362.7 kB / 347.7 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.02767, allocations: 233.9 kB / 348 MB, free: 8.254 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.028, allocations: 362.5 kB / 348.3 MB, free: 7.859 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007472/0.02875, allocations: 0.6259 MB / 348.9 MB, free: 7.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.02875, allocations: 3.938 kB / 348.9 MB, free: 7.191 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001066/0.02982, allocations: 0.8609 MB / 349.8 MB, free: 6.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.02984, allocations: 8 kB / 349.8 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.02985, allocations: 4 kB / 349.8 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000448/0.03029, allocations: 204.7 kB / 350 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.03057, allocations: 139.7 kB / 350.1 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.03283, allocations: 2.575 MB / 352.7 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.03304, allocations: 67.55 kB / 352.8 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.03307, allocations: 32 kB / 352.8 MB, free: 3.191 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.03325, allocations: 197.7 kB / 353 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.03331, allocations: 51.66 kB / 353.1 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.03443, allocations: 0.8858 MB / 353.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.03443, allocations: 11.98 kB / 354 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.03444, allocations: 4 kB / 354 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.03445, allocations: 7.922 kB / 354 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.03607, allocations: 1.566 MB / 355.5 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.03607, allocations: 3.938 kB / 355.5 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.03632, allocations: 115.8 kB / 355.7 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/0.03669, allocations: 200.6 kB / 355.8 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.03672, allocations: 19.98 kB / 355.9 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.03867, allocations: 2.564 MB / 358.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.03867, allocations: 0 / 358.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.04017, allocations: 1.257 MB / 359.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.04021, allocations: 55.56 kB / 359.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.04025, allocations: 15.98 kB / 359.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.04042, allocations: 27.94 kB / 359.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.04051, allocations: 60.53 kB / 359.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.04054, allocations: 27.92 kB / 359.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.04067, allocations: 211.1 kB / 360.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04067, allocations: 0 / 360.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004803/0.04115, allocations: 235.6 kB / 360.3 MB, free: 11.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001758/0.04291, allocations: 1.846 MB / 362.2 MB, free: 9.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009529/0.04387, allocations: 0.809 MB / 363 MB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.04387, allocations: 0 / 363 MB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004989/0.04437, allocations: 0.5098 MB / 363.5 MB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.0447, allocations: 61.22 kB / 363.5 MB, free: 8.203 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005011/0.04971, allocations: 5.048 MB / 368.6 MB, free: 2.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.04993, allocations: 294.8 kB / 368.9 MB, free: 2.668 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.05013, allocations: 84.45 kB / 369 MB, free: 2.582 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.05036, allocations: 228.4 kB / 369.2 MB, free: 2.359 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.05036, allocations: 0 / 369.2 MB, free: 2.359 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.07613, allocations: 13.62 MB / 382.8 MB, free: 4.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/7.473, allocations: 0 / 382.8 MB, free: 4.93 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_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_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable transformer.pin_n1.reference.gamma in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable transformer.pin_n1.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable transformer.pin_n2.reference.gamma in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable transformer.pin_n2.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable currentSensor.abs_i in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable currentSensor.abs_i from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable currentSensor.arg_i in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable currentSensor.arg_i from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.384442260488868]