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.00131/0.00131, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001405/0.001405, allocations: 212.5 kB / 23.72 MB, free: 4.531 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 7.793 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 43.92 kB / 377.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2506, allocations: 53.36 MB / 431.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004687/0.2552, allocations: 3.058 MB / 434.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.2575, allocations: 1.312 MB / 435.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.2577, allocations: 11.94 kB / 435.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.2581, allocations: 147.1 kB / 435.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009671/0.2591, allocations: 409.7 kB / 436 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.2595, allocations: 183.5 kB / 436.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006229/0.2601, allocations: 454.1 kB / 436.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.2603, allocations: 124.6 kB / 436.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.2606, allocations: 171.3 kB / 436.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.2608, allocations: 203.2 kB / 437.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.2609, allocations: 36 kB / 437.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.2612, allocations: 175.8 kB / 437.3 MB, free: 416 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.911e-05/0.2613, allocations: 71.77 kB / 437.4 MB, free: 344 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.2614, allocations: 163.2 kB / 437.5 MB, free: 180 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006643/0.2621, allocations: 0.5526 MB / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2621, allocations: 0 / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2621, allocations: 0 / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.2621, allocations: 4 kB / 438.1 MB, free: 15.62 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.001454/0.2636, allocations: 0.687 MB / 438.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2636, allocations: 12.03 kB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.186e-05/0.2637, allocations: 70.72 kB / 438.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007472/0.2644, allocations: 116.6 kB / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.2649, allocations: 259.7 kB / 439.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.2649, allocations: 25.38 kB / 439.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/0.265, allocations: 36.38 kB / 439.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006462/0.2656, allocations: 408.7 kB / 439.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2657, allocations: 0 / 439.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.2657, allocations: 16 kB / 439.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.2657, allocations: 8 kB / 439.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.2662, allocations: 249.8 kB / 440 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.2682, allocations: 1.179 MB / 441.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.2686, allocations: 193.1 kB / 441.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.2688, allocations: 77.97 kB / 441.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007524/0.2695, allocations: 0.5456 MB / 442 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.2695, allocations: 34.56 kB / 442 MB, free: 11.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.2695, allocations: 0 / 442 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006025/0.2701, allocations: 233.5 kB / 442.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.2702, allocations: 81.11 kB / 442.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.2706, allocations: 296.2 kB / 442.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.2706, allocations: 29.7 kB / 442.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.2708, allocations: 248 kB / 442.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.2708, allocations: 63.44 kB / 442.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.271, allocations: 69.97 kB / 443 MB, free: 10.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.2711, allocations: 338.8 kB / 443.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.2713, allocations: 68.56 kB / 443.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.2715, allocations: 206.4 kB / 443.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.272, allocations: 284.8 kB / 443.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.272, allocations: 4 kB / 443.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005948/0.2726, allocations: 320 kB / 444.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2726, allocations: 4 kB / 444.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.2726, allocations: 12.55 kB / 444.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/0.2727, allocations: 11.94 kB / 444.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.273, allocations: 83.84 kB / 444.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.273, allocations: 7.984 kB / 444.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.2732, allocations: 35.72 kB / 444.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.2732, allocations: 16 kB / 444.3 MB, free: 8.945 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.0001613/0.2734, allocations: 153.7 kB / 444.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.2735, allocations: 27.81 kB / 444.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.462e-05/0.2735, allocations: 29.78 kB / 444.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2735, allocations: 15.88 kB / 444.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2735, allocations: 0 / 444.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2735, allocations: 3.984 kB / 444.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007135/0.2742, allocations: 470.2 kB / 445 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.2743, allocations: 3.938 kB / 445 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.2745, allocations: 39.98 kB / 445.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2745, allocations: 0 / 445.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.2745, allocations: 11.98 kB / 445.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2745, allocations: 0 / 445.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2745, allocations: 4.031 kB / 445.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005548/0.2751, allocations: 426.1 kB / 445.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.2751, allocations: 27.77 kB / 445.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.2752, allocations: 8 kB / 445.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.2754, allocations: 11.98 kB / 445.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.2754, allocations: 16.09 kB / 445.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.2754, allocations: 8 kB / 445.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.2757, allocations: 207.1 kB / 445.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2757, allocations: 0 / 445.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004493/0.2761, allocations: 79.84 kB / 445.9 MB, free: 7.355 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.0009816/0.2771, allocations: 0.9662 MB / 446.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004189/0.2775, allocations: 175.7 kB / 447 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/0.2775, allocations: 5.125 kB / 447 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.2777, allocations: 67.84 kB / 447.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.2781, allocations: 35.8 kB / 447.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.282, allocations: 3.127 MB / 450.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.2821, allocations: 164.8 kB / 450.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.2823, allocations: 38.94 kB / 450.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.2824, allocations: 103.4 kB / 450.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2824, allocations: 4 kB / 450.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.3187, allocations: 6.29 MB / 456.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.18, allocations: 5.453 kB / 456.8 MB, free: 12.3 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.793355249013985]