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.0009449/0.0009449, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001051/0.001051, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9228/0.9228, allocations: 177 MB / 204.1 MB, free: 5.754 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.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 1.633e-06/1.633e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.95e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.004246/0.004266, allocations: 4.553 MB / 329.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.006925, allocations: 1.737 MB / 330.8 MB, free: 9.566 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.007297, allocations: 23.94 kB / 330.8 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.008937, allocations: 1.154 MB / 332 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.01002, allocations: 0.6171 MB / 332.6 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007976/0.01082, allocations: 0.5668 MB / 333.2 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000741/0.01156, allocations: 0.7852 MB / 334 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006089/0.01217, allocations: 0.5235 MB / 334.5 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.01263, allocations: 474.8 kB / 334.9 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.01291, allocations: 331.1 kB / 335.3 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.136e-05/0.01298, allocations: 64 kB / 335.3 MB, free: 5.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004997/0.01348, allocations: 251.6 kB / 335.6 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.396e-05/0.01358, allocations: 167.3 kB / 335.7 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.01376, allocations: 267.2 kB / 336 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008913/0.01465, allocations: 1.04 MB / 337 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01466, allocations: 4 kB / 337 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01466, allocations: 0 / 337 MB, free: 3.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.01467, allocations: 0 / 337 MB, free: 3.32 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.002343/0.01701, allocations: 1.316 MB / 338.4 MB, free: 1.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.01705, allocations: 15.98 kB / 338.4 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.01715, allocations: 123.1 kB / 338.5 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/0.01998, allocations: 0.7887 MB / 339.3 MB, free: 1.035 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.02048, allocations: 360.8 kB / 339.6 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.02052, allocations: 66.31 kB / 339.7 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.331e-05/0.02061, allocations: 72.38 kB / 339.8 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009426/0.02155, allocations: 0.8271 MB / 340.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.02157, allocations: 3.953 kB / 340.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.02162, allocations: 32 kB / 340.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.02163, allocations: 16 kB / 340.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.02265, allocations: 0.9057 MB / 341.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/0.0252, allocations: 2.301 MB / 343.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.02633, allocations: 0.7647 MB / 344.6 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.02666, allocations: 299 kB / 344.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.958e-05/0.02674, allocations: 28.62 kB / 344.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.02677, allocations: 39.22 kB / 345 MB, free: 11.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 2.515e-06/0.02677, allocations: 0 / 345 MB, free: 11.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.00211/0.02888, allocations: 1.275 MB / 346.3 MB, free: 9.902 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.02892, allocations: 60.06 kB / 346.3 MB, free: 9.832 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.02915, allocations: 300.1 kB / 346.6 MB, free: 9.527 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.02919, allocations: 41.7 kB / 346.6 MB, free: 9.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.02931, allocations: 284.7 kB / 346.9 MB, free: 9.195 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.02945, allocations: 265.7 kB / 347.2 MB, free: 8.934 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.02958, allocations: 126.6 kB / 347.3 MB, free: 8.801 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.02969, allocations: 354.7 kB / 347.7 MB, free: 8.445 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.02998, allocations: 241.9 kB / 347.9 MB, free: 8.211 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.03034, allocations: 362.5 kB / 348.2 MB, free: 7.812 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/0.03103, allocations: 0.6298 MB / 348.9 MB, free: 7.145 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.03103, allocations: 0 / 348.9 MB, free: 7.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001094/0.03213, allocations: 0.8567 MB / 349.7 MB, free: 6.277 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.03216, allocations: 12.27 kB / 349.7 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.03217, allocations: 11.94 kB / 349.8 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005001/0.03267, allocations: 199.8 kB / 350 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.03296, allocations: 143.7 kB / 350.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.03526, allocations: 2.558 MB / 352.6 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.03551, allocations: 67.55 kB / 352.7 MB, free: 3.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.03554, allocations: 31.98 kB / 352.7 MB, free: 3.152 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.0002507/0.03579, allocations: 212.6 kB / 353 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.03586, allocations: 47.72 kB / 353 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.03706, allocations: 0.8897 MB / 353.9 MB, free: 1.992 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.03707, allocations: 8 kB / 353.9 MB, free: 1.984 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.03707, allocations: 0 / 353.9 MB, free: 1.984 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.03708, allocations: 7.922 kB / 353.9 MB, free: 1.977 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.03883, allocations: 1.574 MB / 355.5 MB, free: 352 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.03884, allocations: 4 kB / 355.5 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.0391, allocations: 107.9 kB / 355.6 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003968/0.0395, allocations: 212.5 kB / 355.8 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.03953, allocations: 12 kB / 355.8 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/0.04177, allocations: 2.563 MB / 358.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.04177, allocations: 0 / 358.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.04323, allocations: 1.257 MB / 359.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.0433, allocations: 59.52 kB / 359.7 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.04334, allocations: 16 kB / 359.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.04351, allocations: 23.98 kB / 359.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.0436, allocations: 56.55 kB / 359.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002343/0.04384, allocations: 27.92 kB / 359.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.04399, allocations: 207.1 kB / 360 MB, free: 11.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04399, allocations: 3.938 kB / 360 MB, free: 11.67 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005787/0.04457, allocations: 235.6 kB / 360.2 MB, free: 11.44 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.001762/0.04633, allocations: 1.84 MB / 362.1 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.0474, allocations: 0.813 MB / 362.9 MB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.0474, allocations: 0 / 362.9 MB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005412/0.04795, allocations: 0.5099 MB / 363.4 MB, free: 8.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.0486, allocations: 57.75 kB / 363.5 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005493/0.05409, allocations: 5.059 MB / 368.5 MB, free: 2.934 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.05432, allocations: 290.9 kB / 368.8 MB, free: 2.625 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.05452, allocations: 76.52 kB / 368.9 MB, free: 2.547 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.05473, allocations: 232.4 kB / 369.1 MB, free: 2.32 MB / 330.7 MB Notification: Performance of SimCode: time 1.964e-06/0.05473, allocations: 4 kB / 369.1 MB, free: 2.316 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.08321, allocations: 13.62 MB / 382.7 MB, free: 4.852 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/7.595, allocations: 3.938 kB / 382.7 MB, free: 4.848 MB / 346.7 MB " [Timeout remaining time 652] (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/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_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: 9.52500528190285]