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.001306/0.001306, allocations: 104 kB / 21.96 MB, free: 5.219 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.001286/0.001286, allocations: 210.1 kB / 25.25 MB, free: 3.133 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.7 MB / 236.1 MB, free: 9.789 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.001663/0.001663, allocations: 51.92 kB / 348 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2405, allocations: 49.16 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003691/0.2442, allocations: 2.975 MB / 400.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.2459, allocations: 1.253 MB / 401.4 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.2461, allocations: 10.66 kB / 401.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.2465, allocations: 138.6 kB / 401.5 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008178/0.2474, allocations: 319 kB / 401.8 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.2479, allocations: 240 kB / 402.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000582/0.2485, allocations: 454.8 kB / 402.5 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.2487, allocations: 110.7 kB / 402.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.2489, allocations: 167.9 kB / 402.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.2492, allocations: 201.6 kB / 403 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.743e-05/0.2492, allocations: 35.03 kB / 403 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.2496, allocations: 156.5 kB / 403.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/0.2496, allocations: 81.62 kB / 403.2 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.2498, allocations: 164.9 kB / 403.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006559/0.2504, allocations: 0.5311 MB / 403.9 MB, free: 4.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2504, allocations: 4 kB / 403.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2504, allocations: 1.062 kB / 403.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.2504, allocations: 0 / 403.9 MB, free: 4.77 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.001282/0.2517, allocations: 0.6715 MB / 404.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2518, allocations: 14.11 kB / 404.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.916e-05/0.2518, allocations: 12.97 kB / 404.6 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.2518, allocations: 70.14 kB / 404.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005993/0.2524, allocations: 99.2 kB / 404.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.2528, allocations: 256 kB / 405 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.2528, allocations: 30.72 kB / 405.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/0.2529, allocations: 34.19 kB / 405.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/0.2535, allocations: 401.9 kB / 405.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2535, allocations: 5.469 kB / 405.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.2535, allocations: 15.62 kB / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.2535, allocations: 8.719 kB / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.254, allocations: 248.4 kB / 405.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.2557, allocations: 1.183 MB / 407 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.256, allocations: 185.3 kB / 407.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.2561, allocations: 81.12 kB / 407.2 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005223/0.2567, allocations: 0.5231 MB / 407.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.2567, allocations: 42.06 kB / 407.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.2567, allocations: 0 / 407.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004732/0.2572, allocations: 223.4 kB / 408 MB, free: 2.012 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.2572, allocations: 80.61 kB / 408.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.2574, allocations: 286.2 kB / 408.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2574, allocations: 31.59 kB / 408.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2575, allocations: 244.2 kB / 408.6 MB, free: 1.512 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.2576, allocations: 61.98 kB / 408.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.103e-05/0.2576, allocations: 61.95 kB / 408.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.2577, allocations: 342.3 kB / 409.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.2578, allocations: 65.88 kB / 409.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.258, allocations: 198.9 kB / 409.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.2583, allocations: 290.4 kB / 409.6 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2583, allocations: 5.031 kB / 409.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004751/0.2588, allocations: 318.9 kB / 409.9 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2588, allocations: 11.23 kB / 409.9 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.2588, allocations: 5.25 kB / 410 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.2589, allocations: 9.938 kB / 410 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.2591, allocations: 80.91 kB / 410 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.2591, allocations: 10.23 kB / 410.1 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.2593, allocations: 39.14 kB / 410.1 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.2594, allocations: 17.17 kB / 410.1 MB, free: 460 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.0001072/0.2595, allocations: 160.5 kB / 410.3 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.2595, allocations: 24.3 kB / 410.3 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.2596, allocations: 36.2 kB / 410.3 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2596, allocations: 3.203 kB / 410.3 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2596, allocations: 1.062 kB / 410.3 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2596, allocations: 0.7031 kB / 410.3 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006508/0.2602, allocations: 464.7 kB / 410.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2602, allocations: 5.062 kB / 410.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.2605, allocations: 50.45 kB / 410.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2605, allocations: 1.156 kB / 410.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.2605, allocations: 6.844 kB / 410.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.2605, allocations: 1.891 kB / 410.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2605, allocations: 5.297 kB / 410.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.261, allocations: 430.8 kB / 411.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.2611, allocations: 26.55 kB / 411.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.2611, allocations: 5.719 kB / 411.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2613, allocations: 16.3 kB / 411.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.2614, allocations: 14.58 kB / 411.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.2614, allocations: 6.094 kB / 411.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.2616, allocations: 203.8 kB / 411.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2616, allocations: 0 / 411.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000417/0.262, allocations: 86.33 kB / 411.6 MB, free: 15.41 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.0008522/0.2629, allocations: 0.9507 MB / 412.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.2632, allocations: 188.9 kB / 412.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2633, allocations: 5.594 kB / 412.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.2634, allocations: 66.44 kB / 412.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.2638, allocations: 26.83 kB / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003742/0.2675, allocations: 3.109 MB / 416 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.2677, allocations: 168.7 kB / 416.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.2678, allocations: 39.27 kB / 416.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.268, allocations: 102.6 kB / 416.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.268, allocations: 0 / 416.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.2949, allocations: 5.835 MB / 422.1 MB, free: 8.867 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.27, allocations: 18.53 kB / 422.1 MB, free: 8.852 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.955198667943478]