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.0008177/0.0008177, 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.0008524/0.0008524, allocations: 170 kB / 23.95 MB, free: 0.6055 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.8982/0.8982, allocations: 177.1 MB / 204.3 MB, free: 5.719 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 3.316e-06/3.316e-06, allocations: 4 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.247e-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.005245/0.005268, allocations: 4.559 MB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.007328, allocations: 1.748 MB / 330.9 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.007552, allocations: 12 kB / 330.9 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.008865, allocations: 1.15 MB / 332 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008352/0.0097, allocations: 0.625 MB / 332.7 MB, free: 7.797 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006466/0.01035, allocations: 0.5804 MB / 333.2 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006445/0.01099, allocations: 0.7818 MB / 334 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005676/0.01156, allocations: 0.5158 MB / 334.5 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004047/0.01196, allocations: 482.8 kB / 335 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.01221, allocations: 327.1 kB / 335.3 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.867e-05/0.01226, allocations: 64 kB / 335.4 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.0126, allocations: 247.6 kB / 335.6 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.213e-05/0.01269, allocations: 175.3 kB / 335.8 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.01283, allocations: 255.3 kB / 336.1 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007084/0.01354, allocations: 1.043 MB / 337.1 MB, free: 3.355 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01354, allocations: 0 / 337.1 MB, free: 3.355 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01354, allocations: 0 / 337.1 MB, free: 3.355 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.01355, allocations: 0 / 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.002026/0.01558, allocations: 1.316 MB / 338.4 MB, free: 2.008 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.01561, allocations: 12.03 kB / 338.4 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.366e-05/0.01571, allocations: 127.1 kB / 338.6 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.0185, allocations: 0.7887 MB / 339.3 MB, free: 1.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.01894, allocations: 364.7 kB / 339.7 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.01897, allocations: 58.38 kB / 339.8 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.01905, allocations: 80.38 kB / 339.8 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/0.01991, allocations: 0.8271 MB / 340.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.01994, allocations: 11.95 kB / 340.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.01998, allocations: 28 kB / 340.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.02, allocations: 20 kB / 340.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.021, allocations: 0.8979 MB / 341.6 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.0234, allocations: 2.297 MB / 343.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.02455, allocations: 0.7725 MB / 344.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.02487, allocations: 303 kB / 345 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-05/0.02493, allocations: 24.62 kB / 345 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.02495, allocations: 43.22 kB / 345.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 1.813e-06/0.02495, allocations: 0 / 345.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.001969/0.02692, allocations: 1.267 MB / 346.3 MB, free: 9.934 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.02695, allocations: 60.06 kB / 346.4 MB, free: 9.863 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.02716, allocations: 300.1 kB / 346.7 MB, free: 9.559 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.02719, allocations: 37.7 kB / 346.7 MB, free: 9.516 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.02731, allocations: 296.7 kB / 347 MB, free: 9.219 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.02743, allocations: 257.7 kB / 347.2 MB, free: 8.965 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.02755, allocations: 126.6 kB / 347.4 MB, free: 8.832 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003269/0.02787, allocations: 362.7 kB / 347.7 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.02814, allocations: 233.9 kB / 348 MB, free: 8.242 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.02848, allocations: 366.5 kB / 348.3 MB, free: 7.844 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/0.02914, allocations: 0.622 MB / 348.9 MB, free: 7.184 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.02915, allocations: 0 / 348.9 MB, free: 7.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00104/0.03019, allocations: 0.8686 MB / 349.8 MB, free: 6.305 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.0302, allocations: 7.984 kB / 349.8 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.03021, allocations: 4 kB / 349.8 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000437/0.03065, allocations: 203.8 kB / 350 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.03091, allocations: 131.8 kB / 350.1 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.03294, allocations: 2.57 MB / 352.7 MB, free: 3.285 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.03315, allocations: 71.55 kB / 352.8 MB, free: 3.215 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.03318, allocations: 28 kB / 352.8 MB, free: 3.188 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.000176/0.03336, allocations: 205.6 kB / 353 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.03341, allocations: 43.72 kB / 353.1 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.0345, allocations: 0.8897 MB / 353.9 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.0345, allocations: 8 kB / 354 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.03451, allocations: 7.938 kB / 354 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.03451, allocations: 7.922 kB / 354 MB, free: 2.012 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.03645, allocations: 1.57 MB / 355.5 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.03645, allocations: 3.938 kB / 355.5 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.03669, allocations: 115.8 kB / 355.7 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003626/0.03706, allocations: 200.6 kB / 355.8 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.03708, allocations: 20 kB / 355.9 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/0.03906, allocations: 2.564 MB / 358.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.03906, allocations: 3.938 kB / 358.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.04041, allocations: 1.254 MB / 359.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.04045, allocations: 59.55 kB / 359.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.04048, allocations: 12 kB / 359.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.04069, allocations: 27.98 kB / 359.8 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.04077, allocations: 56.55 kB / 359.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.0408, allocations: 27.92 kB / 359.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.04093, allocations: 211.1 kB / 360.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04093, allocations: 0 / 360.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000464/0.04139, allocations: 231.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.001953/0.04335, allocations: 1.856 MB / 362.2 MB, free: 9.598 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009272/0.04427, allocations: 0.8052 MB / 363 MB, free: 8.777 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.04428, allocations: 0 / 363 MB, free: 8.777 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.04475, allocations: 0.5099 MB / 363.5 MB, free: 8.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.04505, allocations: 63.41 kB / 363.5 MB, free: 8.191 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.0497, allocations: 5.055 MB / 368.6 MB, free: 2.961 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.04988, allocations: 286.9 kB / 368.9 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.05006, allocations: 84.47 kB / 369 MB, free: 2.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.05049, allocations: 224.4 kB / 369.2 MB, free: 2.352 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.05049, allocations: 0 / 369.2 MB, free: 2.352 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.07517, allocations: 13.62 MB / 382.8 MB, free: 4.922 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.095/7.17, allocations: 8.047 kB / 382.8 MB, free: 4.914 MB / 346.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.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_4.1.0_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.023726434446871]