Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001801/0.001801, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002311/0.002311, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 51.92 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2456, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004648/0.2503, allocations: 3.054 MB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.2527, allocations: 1.308 MB / 436.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.2528, allocations: 11.94 kB / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004294/0.2533, allocations: 143.1 kB / 436.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.2543, allocations: 417.7 kB / 437.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.2548, allocations: 183.2 kB / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006557/0.2554, allocations: 462 kB / 437.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.2556, allocations: 110.7 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.2559, allocations: 175.4 kB / 438.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.2562, allocations: 203.1 kB / 438.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.216e-05/0.2562, allocations: 36 kB / 438.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.2566, allocations: 171.8 kB / 438.6 MB, free: 448 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.2566, allocations: 79.7 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.2568, allocations: 167.2 kB / 438.8 MB, free: 200 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000729/0.2575, allocations: 0.5485 MB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2575, allocations: 0 / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2575, allocations: 0 / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2576, allocations: 0 / 439.4 MB, free: 15.64 MB / 350.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.001438/0.259, allocations: 0.6806 MB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.259, allocations: 12.03 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007773/0.2598, allocations: 116.6 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.2603, allocations: 263.6 kB / 440.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.2604, allocations: 25.36 kB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.65e-05/0.2604, allocations: 36.38 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006838/0.2611, allocations: 408.9 kB / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2611, allocations: 0 / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.2612, allocations: 16 kB / 440.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.2612, allocations: 8 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005111/0.2617, allocations: 249.8 kB / 441.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.2637, allocations: 1.125 MB / 442.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.2641, allocations: 177.2 kB / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.2642, allocations: 85.62 kB / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000756/0.265, allocations: 0.5458 MB / 443.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.265, allocations: 42.61 kB / 443.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.422e-06/0.265, allocations: 0 / 443.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005732/0.2656, allocations: 217.4 kB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.2657, allocations: 81.11 kB / 443.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.266, allocations: 300.1 kB / 443.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.266, allocations: 29.64 kB / 443.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.2662, allocations: 244 kB / 444 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.2663, allocations: 67.44 kB / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.2664, allocations: 69.97 kB / 444.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2665, allocations: 338.8 kB / 444.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.2667, allocations: 68.61 kB / 444.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.267, allocations: 202.3 kB / 444.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.2674, allocations: 292.8 kB / 445 MB, free: 9.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2674, allocations: 256 / 445 MB, free: 9.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005583/0.268, allocations: 317.4 kB / 445.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.268, allocations: 8 kB / 445.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.268, allocations: 8 kB / 445.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.268, allocations: 7.984 kB / 445.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.2683, allocations: 75.91 kB / 445.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.2683, allocations: 15.86 kB / 445.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.2685, allocations: 43.73 kB / 445.5 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.2686, allocations: 16.27 kB / 445.5 MB, free: 9.125 MB / 350.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.0001617/0.2687, allocations: 157.7 kB / 445.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.2688, allocations: 27.81 kB / 445.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.2689, allocations: 29.73 kB / 445.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2689, allocations: 4 kB / 445.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.2689, allocations: 3.938 kB / 445.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2689, allocations: 3.938 kB / 445.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006704/0.2696, allocations: 406.9 kB / 446.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2696, allocations: 8.031 kB / 446.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.2698, allocations: 47.91 kB / 446.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.2698, allocations: 4 kB / 446.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.2698, allocations: 3.938 kB / 446.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2698, allocations: 3.984 kB / 446.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2698, allocations: 4 kB / 446.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/0.2704, allocations: 423.1 kB / 446.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.2705, allocations: 31.8 kB / 446.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.2705, allocations: 12 kB / 446.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.2707, allocations: 15.98 kB / 446.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.2708, allocations: 11.98 kB / 446.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.2708, allocations: 7.984 kB / 446.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.271, allocations: 203 kB / 446.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.271, allocations: 0 / 446.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004357/0.2714, allocations: 83.78 kB / 446.9 MB, free: 7.598 MB / 350.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.0001683/0.2716, allocations: 115.2 kB / 447 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003952/0.272, allocations: 171.6 kB / 447.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.272, allocations: 8.062 kB / 447.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.2721, allocations: 71.91 kB / 447.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.2725, allocations: 32.91 kB / 447.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.2737, allocations: 0.6842 MB / 448 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.2739, allocations: 168.8 kB / 448.2 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.274, allocations: 31.44 kB / 448.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.274, allocations: 0 / 448.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of Templates: time 0.006095/0.2801, allocations: 3.601 MB / 451.8 MB, free: 2.664 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.230286017991602]