Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001835/0.001835, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002259/0.002259, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 43.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2171, allocations: 53.35 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008116/0.2252, allocations: 5.893 MB / 438.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004304/0.2295, allocations: 2.157 MB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005629/0.2301, allocations: 55.69 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008312/0.2309, allocations: 381.5 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.2331, allocations: 0.8393 MB / 441.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008302/0.2339, allocations: 359.3 kB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003857/0.2378, allocations: 3.188 MB / 445.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.2394, allocations: 1.098 MB / 446.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.2411, allocations: 1.335 MB / 447.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/0.2431, allocations: 1.658 MB / 449.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004218/0.2436, allocations: 292 kB / 449.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008853/0.2444, allocations: 427.9 kB / 450 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007721/0.2452, allocations: 0.8529 MB / 450.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.2466, allocations: 1.194 MB / 452 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004283/0.2509, allocations: 4.145 MB / 456.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2509, allocations: 0 / 456.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2509, allocations: 0 / 456.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.587e-05/0.2509, allocations: 0 / 456.2 MB, free: 14.73 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.008204/0.2591, allocations: 3.478 MB / 459.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2592, allocations: 8.031 kB / 459.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004437/0.2636, allocations: 0.7524 MB / 460.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003593/0.2672, allocations: 1.687 MB / 462.1 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.2674, allocations: 176.9 kB / 462.3 MB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/0.2677, allocations: 232.1 kB / 462.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005956/0.2737, allocations: 3.437 MB / 465.9 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.226e-05/0.2738, allocations: 0 / 465.9 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.274, allocations: 92 kB / 466 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.865e-05/0.2741, allocations: 73.98 kB / 466.1 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005512/0.2796, allocations: 2.859 MB / 469 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.016/0.2956, allocations: 8.024 MB / 477 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004206/0.2998, allocations: 1.846 MB / 478.8 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.3011, allocations: 0.7628 MB / 479.6 MB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004056/0.3051, allocations: 2.051 MB / 481.6 MB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.3052, allocations: 46.89 kB / 481.7 MB, free: 4.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.795e-06/0.3052, allocations: 4 kB / 481.7 MB, free: 4.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.00812/0.3133, allocations: 4.135 MB / 485.8 MB, free: 440 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.3134, allocations: 115.2 kB / 485.9 MB, free: 300 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.3156, allocations: 1.592 MB / 487.5 MB, free: 14.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.395e-05/0.3157, allocations: 45.7 kB / 487.6 MB, free: 14.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008652/0.3165, allocations: 1.141 MB / 488.7 MB, free: 13.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/0.3168, allocations: 376.9 kB / 489.1 MB, free: 13.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003931/0.3172, allocations: 238.8 kB / 489.3 MB, free: 12.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3174, allocations: 353.9 kB / 489.7 MB, free: 12.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.3185, allocations: 0.6388 MB / 490.3 MB, free: 11.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.32, allocations: 1.019 MB / 491.3 MB, free: 10.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002567/0.3225, allocations: 1.693 MB / 493 MB, free: 8.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.3225, allocations: 4 kB / 493 MB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003535/0.3261, allocations: 1.953 MB / 495 MB, free: 6.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.3261, allocations: 10.81 kB / 495 MB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.3261, allocations: 12 kB / 495 MB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000387/0.3265, allocations: 125.6 kB / 495.1 MB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.3279, allocations: 339.7 kB / 495.5 MB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/0.3311, allocations: 3.167 MB / 498.6 MB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.3321, allocations: 99.61 kB / 498.7 MB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.3322, allocations: 59.98 kB / 498.8 MB, free: 2.875 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001301/0.3335, allocations: 0.8329 MB / 499.6 MB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.3338, allocations: 155 kB / 499.8 MB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002779/0.3366, allocations: 1.385 MB / 0.4894 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.3366, allocations: 7.984 kB / 0.4894 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3366, allocations: 0 / 0.4894 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.337, allocations: 179.1 kB / 0.4896 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.3372, allocations: 35.92 kB / 0.4896 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008435/0.338, allocations: 91.84 kB / 0.4897 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.3382, allocations: 100.2 kB / 0.4898 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004052/0.3423, allocations: 1.94 MB / 0.4917 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003677/0.3459, allocations: 2.481 MB / 0.4941 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001072/0.347, allocations: 0.6465 MB / 0.4947 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001585/0.3486, allocations: 1.1 MB / 0.4958 GB, free: 9.859 MB / 414.1 MB Notification: Performance of Backend: time 4.41e-07/0.3486, allocations: 0 / 0.4958 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003055/0.3517, allocations: 1.331 MB / 0.4971 GB, free: 8.496 MB / 414.1 MB Notification: Performance of SimCode: time 0.007425/0.3591, allocations: 5.105 MB / 0.5021 GB, free: 3.324 MB / 414.1 MB Notification: Performance of Templates: time 0.0445/0.4036, allocations: 26.78 MB / 0.5283 GB, free: 8.895 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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: 5.215557137998985]