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.00175/0.00175, allocations: 120.2 kB / 21.94 MB, free: 8 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.002083/0.002083, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.551/1.551, allocations: 207.6 MB / 236 MB, free: 9.98 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.002199/0.002199, allocations: 63.92 kB / 348.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3176, allocations: 49.16 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00505/0.3226, allocations: 3.267 MB / 400.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.3249, allocations: 1.357 MB / 402.2 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002805/0.3252, allocations: 11.72 kB / 402.2 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005297/0.3257, allocations: 144.4 kB / 402.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008729/0.3266, allocations: 328.2 kB / 402.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.3272, allocations: 266.1 kB / 403 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006346/0.3278, allocations: 440.1 kB / 403.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.328, allocations: 114.9 kB / 403.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.3283, allocations: 166.6 kB / 403.7 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.3286, allocations: 202.7 kB / 403.9 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.53e-05/0.3286, allocations: 34.56 kB / 403.9 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003569/0.329, allocations: 162.7 kB / 404.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.3291, allocations: 87.3 kB / 404.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.3292, allocations: 192.4 kB / 404.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000703/0.3299, allocations: 0.5329 MB / 404.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3299, allocations: 0 / 404.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3299, allocations: 4.906 kB / 404.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.3299, allocations: 0 / 404.9 MB, free: 4.898 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.001441/0.3314, allocations: 0.6769 MB / 405.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3314, allocations: 14.02 kB / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005954/0.332, allocations: 100.2 kB / 405.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.3325, allocations: 248.4 kB / 405.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.3325, allocations: 31.72 kB / 405.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.3326, allocations: 34.59 kB / 406 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006486/0.3332, allocations: 360 kB / 406.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.3333, allocations: 0 / 406.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.3333, allocations: 15.5 kB / 406.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.3333, allocations: 12.53 kB / 406.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.3338, allocations: 248.2 kB / 406.6 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.3361, allocations: 1.258 MB / 407.8 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.3366, allocations: 188.4 kB / 408 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.3367, allocations: 80.41 kB / 408.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/0.3374, allocations: 0.5469 MB / 408.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.3374, allocations: 38.2 kB / 408.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.873e-06/0.3374, allocations: 3.938 kB / 408.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005889/0.338, allocations: 219.2 kB / 408.9 MB, free: 2.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.3381, allocations: 87.45 kB / 409 MB, free: 2.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.3384, allocations: 290.8 kB / 409.3 MB, free: 1.961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3384, allocations: 27.08 kB / 409.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.3385, allocations: 243.4 kB / 409.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.3386, allocations: 62.17 kB / 409.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.563e-05/0.3387, allocations: 66.91 kB / 409.7 MB, free: 1.633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.3388, allocations: 337.2 kB / 410 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3389, allocations: 66.88 kB / 410.1 MB, free: 1.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.3391, allocations: 202.5 kB / 410.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.3395, allocations: 281.8 kB / 410.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3395, allocations: 1.375 kB / 410.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005115/0.34, allocations: 321.9 kB / 410.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.34, allocations: 7.938 kB / 410.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.34, allocations: 4.406 kB / 410.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.34, allocations: 6.812 kB / 410.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.3403, allocations: 89.16 kB / 411 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.3404, allocations: 6.562 kB / 411 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.3406, allocations: 47.61 kB / 411 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.3406, allocations: 12.45 kB / 411 MB, free: 0.6602 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.000133/0.3407, allocations: 159.5 kB / 411.2 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.3408, allocations: 29 kB / 411.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.3408, allocations: 28 kB / 411.2 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3408, allocations: 11.73 kB / 411.2 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3408, allocations: 0 / 411.2 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3409, allocations: 2.594 kB / 411.2 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007921/0.3416, allocations: 489.4 kB / 411.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3416, allocations: 1.094 kB / 411.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.3419, allocations: 49.19 kB / 411.8 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.3419, allocations: 1.781 kB / 411.8 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.342, allocations: 6.906 kB / 411.8 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.342, allocations: 1.922 kB / 411.8 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.342, allocations: 1.562 kB / 411.8 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006489/0.3426, allocations: 420.5 kB / 412.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.3427, allocations: 37.92 kB / 412.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.3427, allocations: 6.719 kB / 412.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.3429, allocations: 12.08 kB / 412.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.343, allocations: 14.28 kB / 412.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.343, allocations: 6.516 kB / 412.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002485/0.3432, allocations: 198.4 kB / 412.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3432, allocations: 0 / 412.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004727/0.3437, allocations: 90.31 kB / 412.6 MB, free: 15.62 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.0001811/0.3439, allocations: 107.6 kB / 412.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004593/0.3444, allocations: 194.3 kB / 412.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3444, allocations: 0 / 412.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.3445, allocations: 66.25 kB / 412.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.3449, allocations: 30.17 kB / 412.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.3463, allocations: 0.6865 MB / 413.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.3468, allocations: 0.7744 MB / 414.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.3469, allocations: 27.66 kB / 414.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3469, allocations: 1.188 kB / 414.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of Templates: time 0.00701/0.3539, allocations: 3.458 MB / 417.9 MB, free: 12.39 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/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: 7.468836781103164]