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.001628/0.001628, 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.001754/0.001754, allocations: 215 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.433/1.433, allocations: 207.7 MB / 235.3 MB, free: 9.793 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: 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: 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.001997/0.001997, allocations: 51.92 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2617, allocations: 49.15 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004587/0.2663, allocations: 2.996 MB / 399.8 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.2689, allocations: 1.26 MB / 401.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004455/0.2693, allocations: 8.688 kB / 401.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000593/0.2699, allocations: 143.1 kB / 401.2 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.271, allocations: 304.3 kB / 401.5 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.2716, allocations: 248.2 kB / 401.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007079/0.2723, allocations: 450.7 kB / 402.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.2725, allocations: 102.8 kB / 402.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.2729, allocations: 171.6 kB / 402.5 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004179/0.2733, allocations: 174.3 kB / 402.7 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.942e-05/0.2734, allocations: 35.28 kB / 402.7 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/0.2738, allocations: 151.6 kB / 402.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.278e-05/0.2739, allocations: 81.19 kB / 402.9 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.2741, allocations: 167.2 kB / 403.1 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008093/0.2749, allocations: 0.5307 MB / 403.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2749, allocations: 0 / 403.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2749, allocations: 1.438 kB / 403.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.275, allocations: 0 / 403.6 MB, free: 5.293 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.001571/0.2765, allocations: 0.6816 MB / 404.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2766, allocations: 13.73 kB / 404.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00063/0.2772, allocations: 99.42 kB / 404.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.2777, allocations: 249 kB / 404.7 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.2777, allocations: 30.44 kB / 404.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.107e-05/0.2778, allocations: 34.41 kB / 404.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/0.2784, allocations: 409.2 kB / 405.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.2784, allocations: 4 kB / 405.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.2785, allocations: 15.31 kB / 405.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.2785, allocations: 9.781 kB / 405.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/0.279, allocations: 243.3 kB / 405.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.2808, allocations: 1.124 MB / 406.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.2812, allocations: 185.9 kB / 406.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.2814, allocations: 83.88 kB / 406.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005988/0.282, allocations: 0.5195 MB / 407.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.282, allocations: 46.02 kB / 407.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.214e-06/0.282, allocations: 3.938 kB / 407.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005215/0.2825, allocations: 211.4 kB / 407.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.2826, allocations: 80.12 kB / 407.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.2828, allocations: 292.4 kB / 407.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2828, allocations: 31.08 kB / 407.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.283, allocations: 242.8 kB / 408.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.283, allocations: 66.16 kB / 408.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.2831, allocations: 67.19 kB / 408.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.2831, allocations: 340.4 kB / 408.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.2833, allocations: 67.81 kB / 408.7 MB, free: 1.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.2835, allocations: 198.8 kB / 408.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.2838, allocations: 289.7 kB / 409.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.269e-06/0.2838, allocations: 5.594 kB / 409.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005144/0.2843, allocations: 318.5 kB / 409.5 MB, free: 1.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2843, allocations: 7.438 kB / 409.5 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.2844, allocations: 5.062 kB / 409.5 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.2844, allocations: 6.531 kB / 409.5 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.2847, allocations: 78.98 kB / 409.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.2847, allocations: 15.66 kB / 409.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.2849, allocations: 34.59 kB / 409.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.2849, allocations: 14.39 kB / 409.7 MB, free: 1.078 MB / 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.0001146/0.285, allocations: 155.7 kB / 409.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.2851, allocations: 27.62 kB / 409.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/0.2852, allocations: 29.02 kB / 409.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.2852, allocations: 2.75 kB / 409.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.2852, allocations: 3.938 kB / 409.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2852, allocations: 2.719 kB / 409.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000576/0.2857, allocations: 415.9 kB / 410.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2857, allocations: 1.859 kB / 410.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.286, allocations: 52.81 kB / 410.3 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.286, allocations: 5.672 kB / 410.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.286, allocations: 7.094 kB / 410.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.286, allocations: 2.031 kB / 410.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.286, allocations: 0 / 410.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.2865, allocations: 420.5 kB / 410.8 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.2865, allocations: 24.3 kB / 410.8 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.2866, allocations: 10.31 kB / 410.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.2868, allocations: 15.92 kB / 410.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.2869, allocations: 18.98 kB / 410.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.2869, allocations: 6.016 kB / 410.8 MB, free: 240 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.287, allocations: 193.4 kB / 411 MB, free: 124 kB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.287, allocations: 3.938 kB / 411 MB, free: 120 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004541/0.2875, allocations: 81.12 kB / 411.1 MB, free: 100 kB / 318.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.0001512/0.2876, allocations: 120.7 kB / 411.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004251/0.2881, allocations: 184.6 kB / 411.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2881, allocations: 2.281 kB / 411.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.2882, allocations: 65.92 kB / 411.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.2886, allocations: 33.45 kB / 411.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.2899, allocations: 0.6493 MB / 412.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.2901, allocations: 166.3 kB / 412.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.2902, allocations: 35.06 kB / 412.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.2903, allocations: 27.31 kB / 412.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2903, allocations: 0 / 412.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Templates: time 0.006744/0.297, allocations: 2.528 MB / 414.9 MB, free: 14.07 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/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: 4.544859988614917]