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.001233/0.001233, allocations: 107.5 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.001358/0.001358, allocations: 212.3 kB / 24.51 MB, free: 3.914 MB / 14.72 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 1.375/1.375, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 51.91 kB / 378.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2436, allocations: 53.37 MB / 431.9 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006098/0.2497, allocations: 4.548 MB / 436.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.253, allocations: 1.721 MB / 438.1 MB, free: 348 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003435/0.2533, allocations: 16 kB / 438.2 MB, free: 332 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.2559, allocations: 1.096 MB / 439.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.2574, allocations: 0.609 MB / 439.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.2586, allocations: 0.5786 MB / 440.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.2597, allocations: 0.7466 MB / 441.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009219/0.2607, allocations: 0.5391 MB / 441.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005358/0.2612, allocations: 334.7 kB / 442.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005157/0.2617, allocations: 430.3 kB / 442.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.2618, allocations: 68 kB / 442.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006182/0.2624, allocations: 251.8 kB / 442.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.2626, allocations: 171.3 kB / 443 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003139/0.2629, allocations: 302.6 kB / 443.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.2642, allocations: 1.031 MB / 444.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2642, allocations: 0 / 444.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2642, allocations: 3.938 kB / 444.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.2642, allocations: 0 / 444.3 MB, free: 10.19 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.003955/0.2682, allocations: 1.332 MB / 445.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.2682, allocations: 8.031 kB / 445.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.182e-05/0.2683, allocations: 26.19 kB / 445.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.2684, allocations: 127.1 kB / 445.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005853/0.2743, allocations: 0.7809 MB / 446.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000737/0.275, allocations: 358.6 kB / 446.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.199e-05/0.2751, allocations: 66.12 kB / 447 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.2752, allocations: 76 kB / 447 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.2767, allocations: 0.8228 MB / 447.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.2767, allocations: 3.953 kB / 447.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.154e-05/0.2768, allocations: 32 kB / 447.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.2768, allocations: 20 kB / 447.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.2785, allocations: 0.9058 MB / 448.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004058/0.2825, allocations: 2.311 MB / 451.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.2843, allocations: 0.7633 MB / 451.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005182/0.2848, allocations: 291.1 kB / 452.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.2849, allocations: 28.62 kB / 452.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.285, allocations: 39.22 kB / 452.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.665e-06/0.285, allocations: 4 kB / 452.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003575/0.2885, allocations: 1.259 MB / 453.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.2886, allocations: 60.06 kB / 453.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.2889, allocations: 292.2 kB / 453.9 MB, free: 396 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/0.289, allocations: 45.64 kB / 453.9 MB, free: 344 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.2892, allocations: 292.6 kB / 454.2 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.2894, allocations: 269.7 kB / 454.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.2896, allocations: 134.5 kB / 454.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2898, allocations: 350.7 kB / 454.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/0.2903, allocations: 237.9 kB / 455.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.2908, allocations: 358.5 kB / 455.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.2919, allocations: 0.6298 MB / 456.1 MB, free: 14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2919, allocations: 3.938 kB / 456.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001792/0.2937, allocations: 0.8648 MB / 457 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.2937, allocations: 8 kB / 457 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.2937, allocations: 4 kB / 457 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007972/0.2945, allocations: 211.6 kB / 457.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.2951, allocations: 135.7 kB / 457.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.2986, allocations: 2.573 MB / 459.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.2991, allocations: 71.55 kB / 460 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.2991, allocations: 27.98 kB / 460 MB, free: 9.984 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.0003037/0.2994, allocations: 205.6 kB / 460.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.2995, allocations: 51.61 kB / 460.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.3015, allocations: 0.8859 MB / 461.2 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3015, allocations: 8 kB / 461.2 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.3015, allocations: 4 kB / 461.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3015, allocations: 3.984 kB / 461.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.3043, allocations: 1.57 MB / 462.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3043, allocations: 3.938 kB / 462.8 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.3048, allocations: 111.8 kB / 462.9 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007272/0.3055, allocations: 200.7 kB / 463.1 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.3056, allocations: 20 kB / 463.1 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/0.3091, allocations: 2.566 MB / 465.6 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3091, allocations: 7.938 kB / 465.7 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.3115, allocations: 1.254 MB / 466.9 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.3116, allocations: 55.55 kB / 467 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.3117, allocations: 19.94 kB / 467 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.3121, allocations: 23.98 kB / 467 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.3122, allocations: 60.61 kB / 467.1 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.3122, allocations: 23.98 kB / 467.1 MB, free: 2.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.3125, allocations: 207.1 kB / 467.3 MB, free: 2.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3125, allocations: 0 / 467.3 MB, free: 2.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007832/0.3133, allocations: 239.5 kB / 467.5 MB, free: 2.277 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.002869/0.3161, allocations: 1.844 MB / 469.4 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.3179, allocations: 0.8125 MB / 470.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3179, allocations: 0 / 470.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009241/0.3188, allocations: 0.5067 MB / 470.7 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.3193, allocations: 66.83 kB / 470.7 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007926/0.3273, allocations: 5.079 MB / 475.8 MB, free: 9.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3276, allocations: 290.9 kB / 476.1 MB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003622/0.3279, allocations: 76.53 kB / 476.2 MB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.3283, allocations: 223.3 kB / 476.4 MB, free: 9.141 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3283, allocations: 0 / 476.4 MB, free: 9.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.3713, allocations: 13.35 MB / 489.8 MB, free: 12.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.32, allocations: 16 kB / 489.8 MB, free: 12.01 MB / 398.1 MB " [Timeout remaining time 648] (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/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_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: 15.405101935961284]