Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0055/0.0055, allocations: 114.1 kB / 21.97 MB, free: 5.223 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.001591/0.001591, allocations: 211 kB / 25.27 MB, free: 3.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 48.31 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2393, allocations: 49.17 MB / 397.1 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004066/0.2434, allocations: 3.275 MB / 400.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.2455, allocations: 1.356 MB / 401.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.2458, allocations: 6.594 kB / 401.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.2462, allocations: 145.8 kB / 401.9 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007607/0.2469, allocations: 327 kB / 402.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.2474, allocations: 262.9 kB / 402.5 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005422/0.248, allocations: 443.3 kB / 402.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.2482, allocations: 111.1 kB / 403 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.2484, allocations: 169.9 kB / 403.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.2487, allocations: 203 kB / 403.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.953e-05/0.2487, allocations: 34.72 kB / 403.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003576/0.2491, allocations: 162.5 kB / 403.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.2492, allocations: 84.27 kB / 403.7 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.2493, allocations: 195.8 kB / 403.9 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007176/0.2501, allocations: 0.5361 MB / 404.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2501, allocations: 1.062 kB / 404.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2501, allocations: 0 / 404.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.2501, allocations: 0 / 404.4 MB, free: 4.574 MB / 318.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.001327/0.2514, allocations: 0.6748 MB / 405.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2514, allocations: 13.27 kB / 405.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.249e-05/0.2515, allocations: 9.812 kB / 405.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.726e-05/0.2515, allocations: 70.83 kB / 405.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005627/0.2521, allocations: 98.98 kB / 405.3 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.2525, allocations: 256.5 kB / 405.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.2525, allocations: 22.94 kB / 405.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.2526, allocations: 34.5 kB / 405.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.2531, allocations: 355.2 kB / 405.9 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2531, allocations: 5.422 kB / 405.9 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.2532, allocations: 15.03 kB / 405.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.2532, allocations: 8.469 kB / 405.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/0.2537, allocations: 248.4 kB / 406.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.2554, allocations: 1.264 MB / 407.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.2557, allocations: 185.1 kB / 407.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.2559, allocations: 80.45 kB / 407.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005693/0.2564, allocations: 0.5474 MB / 408.3 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.2565, allocations: 40.44 kB / 408.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.2565, allocations: 5.312 kB / 408.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004973/0.257, allocations: 230.5 kB / 408.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.257, allocations: 80.56 kB / 408.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.2572, allocations: 286.5 kB / 408.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.2572, allocations: 31.08 kB / 408.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.2573, allocations: 234.8 kB / 409.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.2574, allocations: 70.72 kB / 409.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.23e-05/0.2575, allocations: 62.33 kB / 409.3 MB, free: 1.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.399e-05/0.2575, allocations: 340.7 kB / 409.6 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.2577, allocations: 67.39 kB / 409.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.2578, allocations: 195.6 kB / 409.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.2581, allocations: 286.4 kB / 410.1 MB, free: 484 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2581, allocations: 4 kB / 410.1 MB, free: 480 kB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004618/0.2586, allocations: 315 kB / 410.5 MB, free: 336 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2586, allocations: 12.25 kB / 410.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2586, allocations: 4.062 kB / 410.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2586, allocations: 10.09 kB / 410.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.2589, allocations: 80.69 kB / 410.6 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.2589, allocations: 10.56 kB / 410.6 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.2591, allocations: 39.36 kB / 410.6 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.2591, allocations: 17.3 kB / 410.6 MB, free: 288 kB / 318.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.0001044/0.2592, allocations: 155.6 kB / 410.8 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.2593, allocations: 28.78 kB / 410.8 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.892e-05/0.2593, allocations: 32.78 kB / 410.8 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2593, allocations: 6.734 kB / 410.8 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2593, allocations: 0 / 410.8 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2594, allocations: 2.219 kB / 410.8 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006857/0.26, allocations: 496.9 kB / 411.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.26, allocations: 5.312 kB / 411.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.2602, allocations: 45.59 kB / 411.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2602, allocations: 2.188 kB / 411.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.2603, allocations: 6.109 kB / 411.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.2603, allocations: 1.625 kB / 411.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2603, allocations: 1.859 kB / 411.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.2608, allocations: 425 kB / 411.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.2609, allocations: 29.92 kB / 411.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.2609, allocations: 6.984 kB / 411.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.2611, allocations: 14.91 kB / 411.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.2612, allocations: 16.16 kB / 411.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2612, allocations: 11.61 kB / 411.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002027/0.2614, allocations: 196.2 kB / 412.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2614, allocations: 0 / 412.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004231/0.2618, allocations: 89.41 kB / 412.2 MB, free: 15.23 MB / 334.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.0008616/0.2627, allocations: 0.9529 MB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004015/0.2631, allocations: 189.3 kB / 413.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2631, allocations: 5.125 kB / 413.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.2632, allocations: 70.41 kB / 413.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.2636, allocations: 26.34 kB / 413.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.2675, allocations: 3.121 MB / 416.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.2679, allocations: 0.7723 MB / 417.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.268, allocations: 31.03 kB / 417.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.2681, allocations: 107 kB / 417.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2681, allocations: 0 / 417.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.296, allocations: 5.823 MB / 423.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.26, allocations: 7.281 kB / 423.3 MB, free: 7.992 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.95171728497371]