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.001034/0.001034, allocations: 75.75 kB / 21.97 MB, free: 2.598 MB / 18.57 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.001039/0.001039, allocations: 168.9 kB / 25.33 MB, free: 9.457 MB / 18.57 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 0.8782/0.8782, allocations: 158.6 MB / 187.2 MB, free: 2.504 MB / 170.7 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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 251 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.873e-05, allocations: 13.41 kB / 251 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003335/0.003364, allocations: 3.22 MB / 254.3 MB, free: 340 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.004753, allocations: 1.309 MB / 255.6 MB, free: 15.01 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.004889, allocations: 11.94 kB / 255.6 MB, free: 15 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.005224, allocations: 139 kB / 255.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005865/0.005811, allocations: 326 kB / 256 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.006123, allocations: 243.2 kB / 256.3 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006664/0.006789, allocations: 465.7 kB / 256.7 MB, free: 13.85 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.006946, allocations: 100.8 kB / 256.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.007141, allocations: 251.4 kB / 257.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.007314, allocations: 155.6 kB / 257.2 MB, free: 13.35 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.007353, allocations: 32 kB / 257.3 MB, free: 13.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.007559, allocations: 151.7 kB / 257.4 MB, free: 13.17 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.007608, allocations: 87.66 kB / 257.5 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.954e-05/0.007697, allocations: 135.6 kB / 257.6 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.008076, allocations: 406.5 kB / 258 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.008078, allocations: 0 / 258 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.008079, allocations: 0 / 258 MB, free: 12.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.008084, allocations: 4 kB / 258 MB, free: 12.55 MB / 250.7 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.000875/0.008959, allocations: 0.7688 MB / 258.8 MB, free: 11.74 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.008997, allocations: 15.98 kB / 258.8 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/0.009374, allocations: 144.5 kB / 259 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.009635, allocations: 252.9 kB / 259.2 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.009654, allocations: 33.3 kB / 259.2 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.009698, allocations: 36.38 kB / 259.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.01005, allocations: 343.5 kB / 259.6 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.01006, allocations: 192 / 259.6 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.01009, allocations: 16.38 kB / 259.6 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.0101, allocations: 11.94 kB / 259.6 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.01029, allocations: 130.9 kB / 259.8 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.01142, allocations: 1.214 MB / 261 MB, free: 9.426 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.01164, allocations: 150.2 kB / 261.1 MB, free: 9.254 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.888e-05/0.01171, allocations: 67.62 kB / 261.2 MB, free: 9.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004532/0.01216, allocations: 0.6897 MB / 261.9 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.01218, allocations: 33.39 kB / 261.9 MB, free: 8.426 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 9.52e-07/0.01218, allocations: 0 / 261.9 MB, free: 8.426 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002614/0.01245, allocations: 165.4 kB / 262.1 MB, free: 8.258 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.01248, allocations: 81.09 kB / 262.2 MB, free: 8.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.01267, allocations: 334.3 kB / 262.5 MB, free: 7.82 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.01269, allocations: 25.7 kB / 262.5 MB, free: 7.789 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.0128, allocations: 294.7 kB / 262.8 MB, free: 7.496 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.01283, allocations: 67.42 kB / 262.9 MB, free: 7.43 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.0129, allocations: 71.69 kB / 262.9 MB, free: 7.348 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.01301, allocations: 0.5117 MB / 263.4 MB, free: 6.824 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/0.01307, allocations: 32.62 kB / 263.5 MB, free: 6.793 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.0132, allocations: 226.9 kB / 263.7 MB, free: 6.488 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.01364, allocations: 281.5 kB / 264 MB, free: 6.129 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.01365, allocations: 4 kB / 264 MB, free: 6.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002662/0.01391, allocations: 263.5 kB / 264.2 MB, free: 5.863 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.01393, allocations: 14.59 kB / 264.2 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01393, allocations: 4.562 kB / 264.2 MB, free: 5.848 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.01395, allocations: 11.94 kB / 264.3 MB, free: 5.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.01411, allocations: 79.89 kB / 264.3 MB, free: 5.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.01412, allocations: 11.98 kB / 264.3 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.01421, allocations: 35.73 kB / 264.4 MB, free: 5.711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.01422, allocations: 16 kB / 264.4 MB, free: 5.695 MB / 250.7 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 8.897e-05/0.01431, allocations: 184.3 kB / 264.6 MB, free: 5.504 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.01435, allocations: 31.86 kB / 264.6 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.01439, allocations: 29.8 kB / 264.6 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01439, allocations: 0 / 264.6 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.0144, allocations: 4 kB / 264.6 MB, free: 5.434 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.0144, allocations: 3.984 kB / 264.6 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.01476, allocations: 460.8 kB / 265.1 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01476, allocations: 0 / 265.1 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.01488, allocations: 47.91 kB / 265.1 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01488, allocations: 4 kB / 265.1 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.01489, allocations: 0 / 265.1 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.01489, allocations: 4.312 kB / 265.2 MB, free: 4.879 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0149, allocations: 0 / 265.2 MB, free: 4.879 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.01523, allocations: 454.5 kB / 265.6 MB, free: 4.41 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.01527, allocations: 19.86 kB / 265.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.0153, allocations: 7.984 kB / 265.6 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.01547, allocations: 8 kB / 265.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.01553, allocations: 23.84 kB / 265.7 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.01554, allocations: 4 kB / 265.7 MB, free: 4.348 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.01567, allocations: 223 kB / 265.9 MB, free: 4.133 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01567, allocations: 0 / 265.9 MB, free: 4.133 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.01599, allocations: 83.78 kB / 266 MB, free: 4.051 MB / 250.7 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.0001151/0.0161, allocations: 107.3 kB / 266.1 MB, free: 3.938 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.0163, allocations: 141 kB / 266.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0163, allocations: 4.062 kB / 266.2 MB, free: 3.793 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-05/0.01636, allocations: 55.59 kB / 266.3 MB, free: 3.734 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.01662, allocations: 24.98 kB / 266.3 MB, free: 3.711 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009188/0.01754, allocations: 0.6101 MB / 266.9 MB, free: 3.062 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.271e-05/0.01759, allocations: 88.31 kB / 267 MB, free: 2.957 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.083e-05/0.01766, allocations: 38.2 kB / 267 MB, free: 2.918 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.01771, allocations: 24.5 kB / 267 MB, free: 2.895 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01771, allocations: 0 / 267 MB, free: 2.895 MB / 250.7 MB Notification: Performance of Templates: time 0.004201/0.02191, allocations: 2.18 MB / 269.2 MB, free: 0.7422 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.829006563872099]