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.001335/0.001335, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.001442/0.001442, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.001721/0.001721, allocations: 47.92 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2745, allocations: 53.36 MB / 431.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005623/0.2801, allocations: 3.342 MB / 434.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002875/0.283, allocations: 1.429 MB / 435.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003732/0.2834, allocations: 11.94 kB / 435.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.284, allocations: 147 kB / 436.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.2853, allocations: 437.7 kB / 436.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005545/0.2859, allocations: 179.5 kB / 436.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008818/0.2868, allocations: 462.1 kB / 437.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.2871, allocations: 112.7 kB / 437.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.2874, allocations: 183.2 kB / 437.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003877/0.2878, allocations: 203.1 kB / 437.6 MB, free: 356 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.368e-05/0.2879, allocations: 32 kB / 437.6 MB, free: 324 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.2883, allocations: 171.9 kB / 437.8 MB, free: 152 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.988e-05/0.2884, allocations: 79.64 kB / 437.9 MB, free: 72 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.2887, allocations: 195.2 kB / 438.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009178/0.2896, allocations: 0.5566 MB / 438.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.2896, allocations: 4 kB / 438.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2896, allocations: 4 kB / 438.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.207e-05/0.2896, allocations: 0 / 438.6 MB, free: 15.32 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.001768/0.2914, allocations: 0.6689 MB / 439.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.2914, allocations: 12.03 kB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.2915, allocations: 74.72 kB / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000791/0.2923, allocations: 124.5 kB / 439.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/0.2929, allocations: 251.7 kB / 439.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.2929, allocations: 25.38 kB / 439.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.308e-05/0.293, allocations: 40.36 kB / 439.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/0.2936, allocations: 357.3 kB / 440.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.2937, allocations: 3.938 kB / 440.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.2937, allocations: 12 kB / 440.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.2937, allocations: 12 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.2942, allocations: 249.8 kB / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.2963, allocations: 1.265 MB / 441.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.2967, allocations: 192.2 kB / 441.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.2969, allocations: 85.95 kB / 442 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007881/0.2977, allocations: 0.565 MB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.2977, allocations: 38.56 kB / 442.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.2977, allocations: 3.938 kB / 442.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005689/0.2983, allocations: 217.5 kB / 442.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.2984, allocations: 93.05 kB / 442.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.2987, allocations: 288.3 kB / 443.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.2987, allocations: 29.7 kB / 443.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.2989, allocations: 248 kB / 443.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.299, allocations: 63.48 kB / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.2991, allocations: 61.97 kB / 443.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.2993, allocations: 338.8 kB / 443.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.2994, allocations: 68.62 kB / 444 MB, free: 9.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.2997, allocations: 202.4 kB / 444.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.3002, allocations: 288.8 kB / 444.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3002, allocations: 3.938 kB / 444.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005604/0.3007, allocations: 317 kB / 444.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.3008, allocations: 11.98 kB / 444.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.3008, allocations: 4.562 kB / 444.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.3008, allocations: 7.938 kB / 444.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.3011, allocations: 87.84 kB / 444.9 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.3011, allocations: 7.984 kB / 444.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.3013, allocations: 35.78 kB / 444.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.3013, allocations: 16 kB / 444.9 MB, free: 8.613 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.0001664/0.3015, allocations: 153.7 kB / 445.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.3015, allocations: 27.81 kB / 445.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.177e-05/0.3016, allocations: 37.78 kB / 445.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3016, allocations: 7.938 kB / 445.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3016, allocations: 0 / 445.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3016, allocations: 3.984 kB / 445.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007363/0.3024, allocations: 486.2 kB / 445.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3024, allocations: 3.938 kB / 445.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.3026, allocations: 43.97 kB / 445.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3026, allocations: 4.031 kB / 445.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.3026, allocations: 8 kB / 445.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.3026, allocations: 4.25 kB / 445.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3026, allocations: 0 / 445.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006206/0.3032, allocations: 425.8 kB / 446.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.3033, allocations: 39.7 kB / 446.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.3033, allocations: 7.938 kB / 446.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.3035, allocations: 11.98 kB / 446.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.3036, allocations: 15.98 kB / 446.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.3036, allocations: 4 kB / 446.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.3038, allocations: 207 kB / 446.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3038, allocations: 0 / 446.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004313/0.3042, allocations: 91.84 kB / 446.5 MB, free: 6.984 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.000933/0.3052, allocations: 0.9584 MB / 447.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004048/0.3056, allocations: 176.6 kB / 447.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3056, allocations: 0 / 447.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.3057, allocations: 71.84 kB / 447.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.3061, allocations: 29.2 kB / 447.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.3101, allocations: 3.128 MB / 450.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.3105, allocations: 0.7792 MB / 451.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.3107, allocations: 30.97 kB / 451.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.3108, allocations: 111.4 kB / 451.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3108, allocations: 0 / 451.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.3496, allocations: 5.88 MB / 457.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.95, allocations: 0 / 457.6 MB, free: 11.71 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.66892489604652]