Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 191.7 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.7 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 47.92 kB / 371.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2601, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004533/0.2646, allocations: 3.323 MB / 426.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.2667, allocations: 1.312 MB / 428 MB, free: 9.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.2669, allocations: 11.94 kB / 428.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.2672, allocations: 147 kB / 428.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.2682, allocations: 465.4 kB / 428.7 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.2686, allocations: 163.6 kB / 428.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005679/0.2692, allocations: 458 kB / 429.3 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.2693, allocations: 101.8 kB / 429.4 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.2695, allocations: 175.3 kB / 429.5 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.2698, allocations: 199.2 kB / 429.7 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.2699, allocations: 36 kB / 429.8 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.2702, allocations: 167.8 kB / 429.9 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.2703, allocations: 71.77 kB / 430 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.2704, allocations: 203 kB / 430.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006467/0.2711, allocations: 0.5289 MB / 430.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2711, allocations: 0 / 430.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2711, allocations: 0 / 430.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2711, allocations: 0 / 430.7 MB, free: 7.246 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001412/0.2725, allocations: 0.6844 MB / 431.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2726, allocations: 12.03 kB / 431.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.876e-05/0.2726, allocations: 13.12 kB / 431.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.202e-05/0.2726, allocations: 66.72 kB / 431.5 MB, free: 6.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005711/0.2732, allocations: 100.6 kB / 431.6 MB, free: 6.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.2737, allocations: 254.8 kB / 431.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.2737, allocations: 25.38 kB / 431.9 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.2738, allocations: 36.38 kB / 431.9 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005864/0.2743, allocations: 349.1 kB / 432.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2744, allocations: 0 / 432.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.2744, allocations: 19.98 kB / 432.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.2744, allocations: 12 kB / 432.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004897/0.2749, allocations: 253.8 kB / 432.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.2769, allocations: 1.261 MB / 433.8 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.2773, allocations: 177.2 kB / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.2775, allocations: 77.69 kB / 434 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006677/0.2781, allocations: 0.5498 MB / 434.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.2782, allocations: 38.56 kB / 434.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.2782, allocations: 4 kB / 434.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005403/0.2787, allocations: 221.3 kB / 434.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.2788, allocations: 85.05 kB / 434.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.2791, allocations: 288.3 kB / 435.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.2791, allocations: 25.7 kB / 435.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.2792, allocations: 240.1 kB / 435.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.2793, allocations: 71.42 kB / 435.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2794, allocations: 65.92 kB / 435.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2796, allocations: 338.8 kB / 435.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.2797, allocations: 64.61 kB / 436 MB, free: 1.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.28, allocations: 206.4 kB / 436.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.2804, allocations: 288.9 kB / 436.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.2804, allocations: 3.938 kB / 436.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005529/0.281, allocations: 312.6 kB / 436.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.281, allocations: 11.28 kB / 436.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.281, allocations: 4 kB / 436.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.281, allocations: 11.94 kB / 436.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.2813, allocations: 79.83 kB / 436.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.2813, allocations: 8 kB / 436.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.2816, allocations: 47.72 kB / 437 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.2816, allocations: 16.16 kB / 437 MB, free: 0.5898 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.2818, allocations: 157.7 kB / 437.1 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.2818, allocations: 27.81 kB / 437.1 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.2819, allocations: 33.67 kB / 437.2 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2819, allocations: 4 kB / 437.2 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2819, allocations: 3.984 kB / 437.2 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2819, allocations: 256 / 437.2 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000787/0.2827, allocations: 0.4903 MB / 437.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2827, allocations: 3.984 kB / 437.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.2829, allocations: 43.98 kB / 437.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2829, allocations: 0 / 437.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.2829, allocations: 3.984 kB / 437.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2829, allocations: 7.938 kB / 437.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2829, allocations: 0 / 437.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.2836, allocations: 427.3 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.2836, allocations: 23.81 kB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.2837, allocations: 7.938 kB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.2839, allocations: 11.98 kB / 438.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.2839, allocations: 20.03 kB / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2839, allocations: 8 kB / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.2841, allocations: 199.1 kB / 438.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2841, allocations: 0 / 438.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004206/0.2845, allocations: 83.78 kB / 438.5 MB, free: 14.97 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008703/0.2854, allocations: 0.9583 MB / 439.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.2858, allocations: 187.7 kB / 439.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2858, allocations: 0 / 439.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.286, allocations: 65.03 kB / 439.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.2864, allocations: 32.56 kB / 439.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.2907, allocations: 3.127 MB / 442.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.2911, allocations: 0.7714 MB / 443.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000148/0.2912, allocations: 34.95 kB / 443.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.2914, allocations: 103.4 kB / 443.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2914, allocations: 0 / 443.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.3187, allocations: 5.852 MB / 449.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.42, allocations: 4.062 kB / 449.6 MB, free: 3.746 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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: 14.221120535978116]