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.001623/0.001623, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.00198/0.00198, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.513/1.513, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.002989/0.002989, allocations: 55.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3225, allocations: 49.17 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004268/0.3267, allocations: 3.263 MB / 399.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.329, allocations: 1.361 MB / 401 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.3292, allocations: 10.91 kB / 401 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.3297, allocations: 141.9 kB / 401.1 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000832/0.3305, allocations: 326.7 kB / 401.4 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.331, allocations: 262.9 kB / 401.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006218/0.3317, allocations: 446.9 kB / 402.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.3319, allocations: 115.8 kB / 402.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.3321, allocations: 178.8 kB / 402.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.3324, allocations: 197.7 kB / 402.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.3324, allocations: 34.25 kB / 402.7 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.3328, allocations: 162 kB / 402.8 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.989e-05/0.3329, allocations: 79.95 kB / 402.9 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.333, allocations: 197.1 kB / 403.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007093/0.3338, allocations: 0.534 MB / 403.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3338, allocations: 4 kB / 403.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3338, allocations: 0.8438 kB / 403.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.3338, allocations: 4 kB / 403.6 MB, free: 4.375 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.001382/0.3352, allocations: 0.665 MB / 404.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3352, allocations: 13.95 kB / 404.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.939e-05/0.3353, allocations: 68.52 kB / 404.4 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005728/0.3358, allocations: 104.3 kB / 404.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.3362, allocations: 252.3 kB / 404.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.3362, allocations: 27.69 kB / 404.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.3363, allocations: 36.78 kB / 404.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.3369, allocations: 350.8 kB / 405.1 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3369, allocations: 7.938 kB / 405.1 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.3369, allocations: 15.22 kB / 405.1 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.3369, allocations: 8.125 kB / 405.2 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.3374, allocations: 244 kB / 405.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.3394, allocations: 1.27 MB / 406.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.3398, allocations: 188.6 kB / 406.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.3399, allocations: 84.39 kB / 406.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006046/0.3405, allocations: 0.5424 MB / 407.5 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3406, allocations: 41.25 kB / 407.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.3406, allocations: 0 / 407.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005282/0.3411, allocations: 224.4 kB / 407.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.3411, allocations: 83.8 kB / 407.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.3414, allocations: 286.1 kB / 408.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3414, allocations: 30.67 kB / 408.1 MB, free: 1.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.3415, allocations: 239.9 kB / 408.4 MB, free: 1.152 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.3416, allocations: 69.31 kB / 408.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.759e-05/0.3417, allocations: 63.83 kB / 408.5 MB, free: 1.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.3417, allocations: 336.5 kB / 408.8 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.3419, allocations: 67.2 kB / 408.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.3421, allocations: 194.9 kB / 409.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.3424, allocations: 289.5 kB / 409.4 MB, free: 284 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3424, allocations: 1.562 kB / 409.4 MB, free: 284 kB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005149/0.343, allocations: 310.3 kB / 409.7 MB, free: 144 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.343, allocations: 8.281 kB / 409.7 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.343, allocations: 3.781 kB / 409.7 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.343, allocations: 10.41 kB / 409.7 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.3433, allocations: 85.38 kB / 409.8 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.3433, allocations: 6.484 kB / 409.8 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.3435, allocations: 43.17 kB / 409.8 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.3436, allocations: 17.69 kB / 409.8 MB, free: 96 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.0001853/0.3437, allocations: 154.9 kB / 410 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.3438, allocations: 25.61 kB / 410 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.712e-05/0.3439, allocations: 32.17 kB / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.3439, allocations: 6.688 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3439, allocations: 0.8438 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3439, allocations: 2.312 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008006/0.3447, allocations: 496.9 kB / 410.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.3447, allocations: 5.406 kB / 410.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.3449, allocations: 41.34 kB / 410.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3449, allocations: 5.219 kB / 410.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.345, allocations: 11.14 kB / 410.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.345, allocations: 6.266 kB / 410.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.345, allocations: 0 / 410.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.3456, allocations: 418.9 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.3456, allocations: 33.47 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.3457, allocations: 2.188 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.3459, allocations: 19.23 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.3459, allocations: 11.91 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.346, allocations: 8.5 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.3462, allocations: 199.7 kB / 411.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3462, allocations: 0 / 411.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004634/0.3466, allocations: 86.75 kB / 411.4 MB, free: 15.05 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.0009928/0.3476, allocations: 0.9645 MB / 412.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004396/0.3481, allocations: 185.3 kB / 412.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3481, allocations: 1.125 kB / 412.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.3482, allocations: 70.08 kB / 412.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.3486, allocations: 30.64 kB / 412.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004781/0.3534, allocations: 3.112 MB / 415.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.3539, allocations: 0.7748 MB / 416.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.3541, allocations: 30.53 kB / 416.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.3542, allocations: 110.6 kB / 416.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3542, allocations: 0 / 416.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.3967, allocations: 5.801 MB / 422.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.05, allocations: 1.5 kB / 422.4 MB, free: 7.855 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.926470102043822]