Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001221/0.001221, allocations: 105.1 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.001345/0.001345, allocations: 218.7 kB / 24.52 MB, free: 3.91 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.388/1.388, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 47.94 kB / 378.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2504, allocations: 53.37 MB / 431.9 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004349/0.2547, allocations: 3.061 MB / 434.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.257, allocations: 1.296 MB / 436.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.2572, allocations: 7.938 kB / 436.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.2576, allocations: 147.1 kB / 436.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.2587, allocations: 417.7 kB / 436.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.2591, allocations: 171.5 kB / 437 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007134/0.2599, allocations: 470 kB / 437.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.2601, allocations: 112.7 kB / 437.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.2604, allocations: 175.3 kB / 437.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.2607, allocations: 203.1 kB / 437.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.575e-05/0.2607, allocations: 36 kB / 437.9 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.2611, allocations: 163.9 kB / 438.1 MB, free: 460 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.847e-05/0.2611, allocations: 87.62 kB / 438.2 MB, free: 372 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.2613, allocations: 167.2 kB / 438.3 MB, free: 204 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006927/0.262, allocations: 0.5487 MB / 438.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.262, allocations: 0 / 438.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.262, allocations: 0 / 438.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.262, allocations: 4 kB / 438.9 MB, free: 15.64 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001391/0.2634, allocations: 0.6806 MB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2634, allocations: 12.03 kB / 439.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.35e-05/0.2635, allocations: 9.188 kB / 439.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.738e-05/0.2635, allocations: 70.72 kB / 439.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007302/0.2643, allocations: 112.6 kB / 439.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.2647, allocations: 263.5 kB / 440 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.2648, allocations: 25.38 kB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.2648, allocations: 36.38 kB / 440.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006565/0.2655, allocations: 408.5 kB / 440.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2655, allocations: 3.938 kB / 440.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.2655, allocations: 12 kB / 440.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.2655, allocations: 8 kB / 440.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.2661, allocations: 253.8 kB / 440.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.2681, allocations: 1.183 MB / 441.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.2685, allocations: 181.2 kB / 442.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.2686, allocations: 81.97 kB / 442.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007364/0.2694, allocations: 0.5533 MB / 442.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.2694, allocations: 38.56 kB / 442.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.2694, allocations: 0 / 442.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005534/0.2699, allocations: 221.3 kB / 443 MB, free: 11.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.12e-05/0.27, allocations: 77.11 kB / 443.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.2703, allocations: 296.3 kB / 443.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.2703, allocations: 29.7 kB / 443.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.2705, allocations: 243.9 kB / 443.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.2706, allocations: 71.45 kB / 443.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2707, allocations: 61.98 kB / 443.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2708, allocations: 338.8 kB / 444.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.271, allocations: 72.55 kB / 444.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.2713, allocations: 204.9 kB / 444.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.2717, allocations: 291.9 kB / 444.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2717, allocations: 0 / 444.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005483/0.2722, allocations: 321 kB / 445 MB, free: 9.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2723, allocations: 8 kB / 445 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2723, allocations: 4 kB / 445 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.2723, allocations: 7.938 kB / 445 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.2726, allocations: 84.39 kB / 445.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.2726, allocations: 11.94 kB / 445.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.2728, allocations: 35.78 kB / 445.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.2728, allocations: 19.98 kB / 445.1 MB, free: 8.973 MB / 350.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.0001545/0.2729, allocations: 149.7 kB / 445.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.099e-05/0.273, allocations: 31.81 kB / 445.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.2731, allocations: 33.72 kB / 445.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2731, allocations: 4 kB / 445.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2731, allocations: 3.938 kB / 445.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2731, allocations: 0 / 445.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006803/0.2738, allocations: 470.3 kB / 445.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2738, allocations: 320 / 445.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.274, allocations: 47.91 kB / 445.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.274, allocations: 4 kB / 445.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.274, allocations: 4 kB / 445.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.274, allocations: 0 / 445.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.274, allocations: 0 / 445.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005742/0.2746, allocations: 431.2 kB / 446.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.2746, allocations: 31.77 kB / 446.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.2747, allocations: 8 kB / 446.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.2749, allocations: 15.98 kB / 446.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.2749, allocations: 11.92 kB / 446.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.2749, allocations: 4 kB / 446.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002069/0.2752, allocations: 203.1 kB / 446.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2752, allocations: 0 / 446.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004433/0.2756, allocations: 91.77 kB / 446.6 MB, free: 7.379 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.0008921/0.2765, allocations: 0.9614 MB / 447.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003873/0.2769, allocations: 187.7 kB / 447.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2769, allocations: 3.938 kB / 447.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.277, allocations: 63.84 kB / 447.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.2774, allocations: 34.16 kB / 447.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.2815, allocations: 3.127 MB / 451 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.2817, allocations: 176.8 kB / 451.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.2818, allocations: 30.97 kB / 451.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.2819, allocations: 107.4 kB / 451.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2819, allocations: 0 / 451.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.3117, allocations: 5.911 MB / 457.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.55, allocations: 14.33 kB / 457.2 MB, free: 12.72 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.367995695094578]