Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.001852/0.001852, allocations: 127.4 kB / 17.79 MB, free: 5.242 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.002271/0.002271, allocations: 211.6 kB / 20.75 MB, free: 2.293 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.524/1.524, allocations: 230.4 MB / 254 MB, free: 15.02 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.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 67.89 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1119, allocations: 53.38 MB / 426.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.2568/0.3688, allocations: 5.102 MB / 431.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003791/0.3725, allocations: 1.851 MB / 433.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004206/0.373, allocations: 14.72 kB / 433.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.3755, allocations: 1.187 MB / 434.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.3776, allocations: 0.6239 MB / 435.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.3791, allocations: 0.6096 MB / 435.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.3804, allocations: 0.7502 MB / 436.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008969/0.3813, allocations: 445.7 kB / 436.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006226/0.3819, allocations: 347.4 kB / 437.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.3824, allocations: 423.6 kB / 437.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.3825, allocations: 67.25 kB / 437.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007619/0.3833, allocations: 256 kB / 438 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.3834, allocations: 165.6 kB / 438.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.3838, allocations: 386.9 kB / 438.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.3854, allocations: 1.019 MB / 439.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3854, allocations: 0 / 439.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3854, allocations: 0.875 kB / 439.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.3854, allocations: 0 / 439.6 MB, free: 5.582 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004023/0.3894, allocations: 1.406 MB / 441 MB, free: 4.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3895, allocations: 10.28 kB / 441 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.3896, allocations: 126.6 kB / 441.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005989/0.3956, allocations: 0.7867 MB / 441.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007462/0.3963, allocations: 411 kB / 442.3 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.88e-05/0.3964, allocations: 61.91 kB / 442.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.3965, allocations: 83.97 kB / 442.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.398, allocations: 0.7699 MB / 443.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.3981, allocations: 5.078 kB / 443.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/0.3981, allocations: 34.5 kB / 443.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.3982, allocations: 19.34 kB / 443.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.3998, allocations: 0.9062 MB / 444.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004045/0.4039, allocations: 2.767 MB / 446.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.4059, allocations: 2.112 MB / 449.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/0.4065, allocations: 298.7 kB / 449.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.4067, allocations: 183.7 kB / 449.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.4068, allocations: 43.3 kB / 449.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.806e-06/0.4068, allocations: 0 / 449.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003968/0.4107, allocations: 1.34 MB / 450.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.4108, allocations: 63.61 kB / 451 MB, free: 14.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.4112, allocations: 293.9 kB / 451.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.4113, allocations: 41.36 kB / 451.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.4115, allocations: 290.2 kB / 451.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.4118, allocations: 263.5 kB / 451.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.412, allocations: 126.9 kB / 452 MB, free: 14.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.4122, allocations: 354.3 kB / 452.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.4127, allocations: 239.6 kB / 452.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/0.4133, allocations: 357.2 kB / 452.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.4144, allocations: 0.6317 MB / 453.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4144, allocations: 0 / 453.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002/0.4164, allocations: 0.871 MB / 454.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.4165, allocations: 7.531 kB / 454.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.4165, allocations: 3.625 kB / 454.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009083/0.4174, allocations: 210.9 kB / 454.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.418, allocations: 132 kB / 454.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/0.4221, allocations: 2.712 MB / 457.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006131/0.4227, allocations: 78.83 kB / 457.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.4228, allocations: 27.42 kB / 457.6 MB, free: 10.42 MB / 366.1 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.0003747/0.4231, allocations: 196.4 kB / 457.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.4233, allocations: 49.39 kB / 457.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.4255, allocations: 0.8865 MB / 458.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.4255, allocations: 11.16 kB / 458.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4255, allocations: 3.094 kB / 458.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.4255, allocations: 4.844 kB / 458.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003202/0.4287, allocations: 1.701 MB / 460.4 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4287, allocations: 0 / 460.4 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.4292, allocations: 118.1 kB / 460.5 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007587/0.43, allocations: 200 kB / 460.7 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/0.43, allocations: 22.42 kB / 460.7 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004002/0.434, allocations: 2.707 MB / 463.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.434, allocations: 0 / 463.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/0.4371, allocations: 1.258 MB / 464.7 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.4373, allocations: 126.9 kB / 464.8 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.4375, allocations: 15.47 kB / 464.8 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004509/0.4379, allocations: 35.7 kB / 464.9 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.4381, allocations: 53.98 kB / 464.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.4381, allocations: 24.64 kB / 464.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000315/0.4385, allocations: 206.5 kB / 465.1 MB, free: 5.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4385, allocations: 0 / 465.1 MB, free: 5.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001152/0.4396, allocations: 238.6 kB / 465.4 MB, free: 5.367 MB / 366.1 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.003264/0.4429, allocations: 1.843 MB / 467.2 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.4449, allocations: 0.8155 MB / 468 MB, free: 3.629 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4449, allocations: 4.25 kB / 468 MB, free: 3.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.446, allocations: 0.5148 MB / 468.6 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007236/0.4468, allocations: 58.91 kB / 468.6 MB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009792/0.4565, allocations: 5.081 MB / 473.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/0.4572, allocations: 0.8899 MB / 474.6 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003375/0.4576, allocations: 77.86 kB / 474.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.458, allocations: 224.3 kB / 474.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.322e-06/0.458, allocations: 0 / 474.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05077/0.5087, allocations: 12.55 MB / 487.4 MB, free: 2.512 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.18, allocations: 10.97 kB / 487.4 MB, free: 2.504 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable transformer.pin_n1.reference.gamma in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable transformer.pin_n1.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable transformer.pin_n2.reference.gamma in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable transformer.pin_n2.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable currentSensor.abs_i in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable currentSensor.abs_i from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable currentSensor.arg_i in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable currentSensor.arg_i from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.9921306950273]