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.0008826/0.0008826, allocations: 80.34 kB / 20.67 MB, free: 3.887 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.000821/0.000821, allocations: 156.9 kB / 23.94 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.8932/0.8932, allocations: 177 MB / 204.1 MB, free: 5.73 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.423e-06/1.423e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.735e-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.00397/0.003987, allocations: 4.563 MB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.006231, allocations: 1.733 MB / 330.8 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.006476, allocations: 15.94 kB / 330.8 MB, free: 9.535 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.007789, allocations: 1.153 MB / 332 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000914/0.008703, allocations: 0.6208 MB / 332.6 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007774/0.009481, allocations: 0.5751 MB / 333.2 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007027/0.01018, allocations: 0.7852 MB / 334 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006153/0.0108, allocations: 0.5158 MB / 334.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.01124, allocations: 482.8 kB / 335 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.0115, allocations: 323.1 kB / 335.3 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.01156, allocations: 68 kB / 335.3 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003786/0.01194, allocations: 251.6 kB / 335.6 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.953e-05/0.01202, allocations: 171.3 kB / 335.7 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.01218, allocations: 259.3 kB / 336 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00082/0.013, allocations: 1.04 MB / 337 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.013, allocations: 0 / 337 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.013, allocations: 0 / 337 MB, free: 3.312 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.01301, allocations: 0 / 337 MB, free: 3.312 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.002139/0.01515, allocations: 1.32 MB / 338.4 MB, free: 1.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.01519, allocations: 15.98 kB / 338.4 MB, free: 1.945 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.462e-05/0.01529, allocations: 127.1 kB / 338.5 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002854/0.01814, allocations: 0.7809 MB / 339.3 MB, free: 1.027 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.01862, allocations: 360.8 kB / 339.6 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.01866, allocations: 58.38 kB / 339.7 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.384e-05/0.01874, allocations: 84.31 kB / 339.8 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.01976, allocations: 0.8271 MB / 340.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.01979, allocations: 11.89 kB / 340.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.01983, allocations: 31.94 kB / 340.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.01985, allocations: 20 kB / 340.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000992/0.02084, allocations: 0.894 MB / 341.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.02328, allocations: 2.305 MB / 343.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.02438, allocations: 0.7647 MB / 344.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.02472, allocations: 305.2 kB / 344.9 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.666e-05/0.02479, allocations: 24.62 kB / 344.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.02482, allocations: 43.22 kB / 345 MB, free: 11.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 1.984e-06/0.02482, allocations: 0 / 345 MB, free: 11.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.002065/0.02689, allocations: 1.263 MB / 346.3 MB, free: 9.895 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.02692, allocations: 64.06 kB / 346.3 MB, free: 9.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.02713, allocations: 300.1 kB / 346.6 MB, free: 9.516 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.02719, allocations: 37.7 kB / 346.6 MB, free: 9.473 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.02731, allocations: 296.7 kB / 346.9 MB, free: 9.176 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.02742, allocations: 257.7 kB / 347.2 MB, free: 8.922 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.02754, allocations: 134.6 kB / 347.3 MB, free: 8.781 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.02771, allocations: 354.7 kB / 347.7 MB, free: 8.426 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.02799, allocations: 237.9 kB / 347.9 MB, free: 8.195 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.02834, allocations: 362.5 kB / 348.3 MB, free: 7.797 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006766/0.02902, allocations: 0.6259 MB / 348.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.02902, allocations: 0 / 348.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001162/0.03019, allocations: 0.8686 MB / 349.7 MB, free: 6.254 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.0302, allocations: 8 kB / 349.8 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.03021, allocations: 0 / 349.8 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/0.03065, allocations: 207.7 kB / 350 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.03092, allocations: 127.8 kB / 350.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.03301, allocations: 2.578 MB / 352.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.03321, allocations: 67.52 kB / 352.7 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.03324, allocations: 35.97 kB / 352.8 MB, free: 3.129 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.0004309/0.03367, allocations: 200.7 kB / 353 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.03373, allocations: 47.72 kB / 353 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.03486, allocations: 0.8936 MB / 353.9 MB, free: 1.977 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.03486, allocations: 8 kB / 353.9 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.03487, allocations: 4 kB / 353.9 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.03488, allocations: 7.922 kB / 353.9 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.03655, allocations: 1.566 MB / 355.5 MB, free: 340 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.03655, allocations: 0 / 355.5 MB, free: 340 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.0368, allocations: 111.9 kB / 355.6 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003635/0.03716, allocations: 208.5 kB / 355.8 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.0372, allocations: 20.08 kB / 355.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.03914, allocations: 2.572 MB / 358.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.03914, allocations: 0 / 358.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.04053, allocations: 1.254 MB / 359.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.04058, allocations: 59.55 kB / 359.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.04062, allocations: 12 kB / 359.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.04078, allocations: 27.98 kB / 359.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.04088, allocations: 64.47 kB / 359.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.0409, allocations: 28 kB / 359.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00044/0.04134, allocations: 203.1 kB / 360 MB, free: 11.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04134, allocations: 0 / 360 MB, free: 11.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005521/0.04189, allocations: 239.5 kB / 360.3 MB, free: 11.42 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.00173/0.04362, allocations: 1.844 MB / 362.1 MB, free: 9.551 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.04463, allocations: 0.8008 MB / 362.9 MB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.04463, allocations: 0 / 362.9 MB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.04514, allocations: 0.506 MB / 363.4 MB, free: 8.219 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.04548, allocations: 65.53 kB / 363.5 MB, free: 8.148 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/0.05064, allocations: 5.055 MB / 368.5 MB, free: 2.922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.05084, allocations: 290.9 kB / 368.8 MB, free: 2.613 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.05103, allocations: 80.53 kB / 368.9 MB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.05127, allocations: 224.4 kB / 369.1 MB, free: 2.312 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.05127, allocations: 3.938 kB / 369.1 MB, free: 2.309 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.07817, allocations: 13.62 MB / 382.7 MB, free: 4.836 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/7.543, allocations: 7.031 kB / 382.7 MB, free: 4.832 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.4248750153929]