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.001439/0.001439, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001729/0.001729, allocations: 214.5 kB / 24.47 MB, free: 3.777 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.451/1.451, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",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.001731/0.001731, allocations: 51.92 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2358, allocations: 49.15 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003757/0.2395, allocations: 2.988 MB / 399.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.2413, allocations: 1.26 MB / 400.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.2415, allocations: 7.531 kB / 400.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.2419, allocations: 143.6 kB / 400.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007107/0.2426, allocations: 313.6 kB / 401 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.2431, allocations: 239.2 kB / 401.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004875/0.2436, allocations: 455.7 kB / 401.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.2437, allocations: 102.7 kB / 401.8 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.2439, allocations: 167.7 kB / 402 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.2441, allocations: 181.3 kB / 402.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.303e-05/0.2442, allocations: 35.44 kB / 402.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.2445, allocations: 147.8 kB / 402.3 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.2445, allocations: 84.7 kB / 402.4 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.2447, allocations: 160.3 kB / 402.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.2452, allocations: 0.5386 MB / 403.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2452, allocations: 0 / 403.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2452, allocations: 0 / 403.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.2452, allocations: 0 / 403.1 MB, free: 4.793 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.001169/0.2464, allocations: 0.6682 MB / 403.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2464, allocations: 13.14 kB / 403.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.2465, allocations: 75.91 kB / 403.9 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005307/0.247, allocations: 99.88 kB / 404 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.2474, allocations: 257.5 kB / 404.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.2474, allocations: 22.72 kB / 404.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.2474, allocations: 35.41 kB / 404.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.248, allocations: 408.4 kB / 404.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.248, allocations: 0 / 404.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.248, allocations: 19.25 kB / 404.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.248, allocations: 8.438 kB / 404.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.2484, allocations: 244.1 kB / 404.9 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.25, allocations: 1.187 MB / 406.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.2504, allocations: 184.5 kB / 406.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.2505, allocations: 81.8 kB / 406.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004976/0.251, allocations: 0.5236 MB / 406.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.251, allocations: 38.94 kB / 407 MB, free: 2.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.251, allocations: 4 kB / 407 MB, free: 2.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004571/0.2515, allocations: 226 kB / 407.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.2515, allocations: 79.77 kB / 407.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.2517, allocations: 292.5 kB / 407.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.2517, allocations: 27.08 kB / 407.6 MB, free: 1.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.2518, allocations: 244.7 kB / 407.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.2519, allocations: 61.33 kB / 407.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.2519, allocations: 65.91 kB / 407.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.252, allocations: 338.4 kB / 408.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.2521, allocations: 71.62 kB / 408.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.2523, allocations: 197.3 kB / 408.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.2526, allocations: 289.6 kB / 408.8 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2526, allocations: 1.375 kB / 408.8 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004468/0.253, allocations: 319.5 kB / 409.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.253, allocations: 12.03 kB / 409.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.253, allocations: 4.406 kB / 409.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2531, allocations: 10.34 kB / 409.1 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.2533, allocations: 75.52 kB / 409.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.2533, allocations: 11.95 kB / 409.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.2535, allocations: 42.25 kB / 409.3 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.2535, allocations: 13.92 kB / 409.3 MB, free: 484 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 9.847e-05/0.2536, allocations: 156.5 kB / 409.4 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.2537, allocations: 28.58 kB / 409.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.2537, allocations: 28.8 kB / 409.5 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2537, allocations: 5.75 kB / 409.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2537, allocations: 1.875 kB / 409.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2538, allocations: 1.078 kB / 409.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005706/0.2543, allocations: 464.8 kB / 410 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2543, allocations: 4.906 kB / 410 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.2545, allocations: 48.28 kB / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.2545, allocations: 6.109 kB / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.2545, allocations: 8.312 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2545, allocations: 1.406 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2546, allocations: 5.406 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/0.2551, allocations: 417.7 kB / 410.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.2551, allocations: 38.02 kB / 410.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.2552, allocations: 6.531 kB / 410.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.2554, allocations: 19.55 kB / 410.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.2554, allocations: 15.67 kB / 410.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.2554, allocations: 9.234 kB / 410.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.2556, allocations: 195.5 kB / 410.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2556, allocations: 1.062 kB / 410.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.256, allocations: 84.62 kB / 410.8 MB, free: 15.43 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.000809/0.2568, allocations: 0.9601 MB / 411.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.2571, allocations: 185.7 kB / 411.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2571, allocations: 0 / 411.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.2573, allocations: 67.02 kB / 412 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.2577, allocations: 29.7 kB / 412 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.2611, allocations: 3.109 MB / 415.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.2613, allocations: 169.5 kB / 415.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.2614, allocations: 39.55 kB / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.2615, allocations: 102.3 kB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2615, allocations: 3.938 kB / 415.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1635/0.425, allocations: 6.1 MB / 421.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.63, allocations: 9.234 kB / 421.6 MB, free: 8.539 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.425251270178705]