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.001388/0.001388, allocations: 112.8 kB / 19.17 MB, free: 3.891 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.001493/0.001493, allocations: 205.6 kB / 22.11 MB, free: 0.9531 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.341/1.341, allocations: 207.6 MB / 232.5 MB, free: 11.5 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="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.001678/0.001678, allocations: 60.38 kB / 343 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2521, allocations: 49.13 MB / 392.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004511/0.2566, allocations: 3.248 MB / 395.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2587, allocations: 1.361 MB / 396.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.2589, allocations: 11.75 kB / 396.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.2593, allocations: 145.2 kB / 396.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007302/0.26, allocations: 319.2 kB / 397.2 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.2605, allocations: 266.1 kB / 397.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005475/0.261, allocations: 440.5 kB / 397.9 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.2613, allocations: 114.5 kB / 398 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.2615, allocations: 170.6 kB / 398.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.2617, allocations: 202.9 kB / 398.4 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.43e-05/0.2618, allocations: 35.12 kB / 398.4 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.2621, allocations: 161.9 kB / 398.5 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.2622, allocations: 83.72 kB / 398.6 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.2623, allocations: 200.8 kB / 398.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006612/0.263, allocations: 0.5283 MB / 399.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.263, allocations: 5.344 kB / 399.4 MB, free: 4.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.263, allocations: 0 / 399.4 MB, free: 4.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.263, allocations: 4 kB / 399.4 MB, free: 4.266 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.001406/0.2644, allocations: 0.7476 MB / 400.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2644, allocations: 10.09 kB / 400.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.048e-05/0.2645, allocations: 8.875 kB / 400.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.2645, allocations: 74.28 kB / 400.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005916/0.2651, allocations: 99.77 kB / 400.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.2655, allocations: 313.7 kB / 400.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.2656, allocations: 26.91 kB / 400.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.2656, allocations: 36.88 kB / 400.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005692/0.2662, allocations: 353.5 kB / 401 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2662, allocations: 1.156 kB / 401 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.2662, allocations: 11.36 kB / 401 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2662, allocations: 12.59 kB / 401 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.2667, allocations: 248.3 kB / 401.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.2685, allocations: 1.31 MB / 402.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.2689, allocations: 191.8 kB / 402.8 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.269, allocations: 80.94 kB / 402.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006142/0.2697, allocations: 0.8686 MB / 403.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.2697, allocations: 40.48 kB / 403.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.092e-06/0.2697, allocations: 0 / 403.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005135/0.2702, allocations: 227.9 kB / 404 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.2702, allocations: 84.08 kB / 404.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.2705, allocations: 284.7 kB / 404.3 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.2705, allocations: 30.92 kB / 404.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2706, allocations: 244.9 kB / 404.6 MB, free: 448 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.2706, allocations: 62.02 kB / 404.7 MB, free: 400 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/0.2707, allocations: 66.42 kB / 404.7 MB, free: 352 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.949e-05/0.2708, allocations: 336.5 kB / 405.1 MB, free: 20 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2709, allocations: 68.08 kB / 405.1 MB, free: 0 / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.2712, allocations: 197.4 kB / 405.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.2717, allocations: 298.8 kB / 405.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2717, allocations: 1.062 kB / 405.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005551/0.2722, allocations: 310.1 kB / 405.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.2723, allocations: 8.156 kB / 405.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.2723, allocations: 3.656 kB / 405.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.2723, allocations: 11.5 kB / 405.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.2726, allocations: 87.92 kB / 406 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.2726, allocations: 11.52 kB / 406 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.2728, allocations: 38.28 kB / 406.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.2728, allocations: 13.73 kB / 406.1 MB, free: 15.36 MB / 334.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.0001594/0.273, allocations: 159.9 kB / 406.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.273, allocations: 28.59 kB / 406.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.2731, allocations: 32.23 kB / 406.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.2731, allocations: 2.438 kB / 406.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2731, allocations: 1.781 kB / 406.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2731, allocations: 5.125 kB / 406.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007128/0.2738, allocations: 0.5064 MB / 406.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2738, allocations: 1.688 kB / 406.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.274, allocations: 45.23 kB / 406.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.274, allocations: 1.375 kB / 406.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.274, allocations: 3.266 kB / 406.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.274, allocations: 10.19 kB / 406.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.274, allocations: 0 / 406.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005692/0.2746, allocations: 433.2 kB / 407.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.2747, allocations: 103.2 kB / 407.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.2747, allocations: 10 kB / 407.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.2749, allocations: 15.58 kB / 407.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.275, allocations: 15.8 kB / 407.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.275, allocations: 5.125 kB / 407.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.2752, allocations: 197.8 kB / 407.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2752, allocations: 0 / 407.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004172/0.2756, allocations: 90.06 kB / 407.7 MB, free: 14.2 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.0008892/0.2765, allocations: 0.97 MB / 408.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004054/0.2769, allocations: 177 kB / 408.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2769, allocations: 5 kB / 408.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.2771, allocations: 74.08 kB / 409 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.2775, allocations: 27.2 kB / 409 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.2814, allocations: 3.106 MB / 412.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.2818, allocations: 0.7729 MB / 412.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000129/0.2819, allocations: 35.17 kB / 412.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.2821, allocations: 109.1 kB / 413 MB, free: 10.17 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2821, allocations: 1.656 kB / 413 MB, free: 10.17 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.3058, allocations: 5.568 MB / 418.6 MB, free: 7.445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/8.685, allocations: 14.44 kB / 418.6 MB, free: 7.434 MB / 334.1 MB " [Timeout remaining time 651] (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: 11.457664739980828]