Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001741/0.001741, allocations: 114.3 kB / 21.18 MB, free: 0.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002169/0.002169, allocations: 214.9 kB / 24.48 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.412/1.412, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2201, allocations: 53.31 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00478/0.2248, allocations: 3.345 MB / 435.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.2271, allocations: 1.429 MB / 436.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.2272, allocations: 11.94 kB / 436.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004006/0.2276, allocations: 147.1 kB / 437 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009547/0.2286, allocations: 433.7 kB / 437.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.229, allocations: 175.5 kB / 437.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006023/0.2296, allocations: 466 kB / 438 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.2298, allocations: 114.2 kB / 438.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.23, allocations: 171.4 kB / 438.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.2303, allocations: 203.1 kB / 438.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.2303, allocations: 36 kB / 438.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.2307, allocations: 167.9 kB / 438.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.512e-05/0.2307, allocations: 87.61 kB / 438.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.2309, allocations: 195 kB / 439 MB, free: 452 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006835/0.2316, allocations: 0.5486 MB / 439.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2316, allocations: 0 / 439.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2316, allocations: 4 kB / 439.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2316, allocations: 0 / 439.5 MB, free: 15.89 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.001466/0.2331, allocations: 0.752 MB / 440.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2331, allocations: 12.03 kB / 440.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007762/0.2339, allocations: 116.6 kB / 440.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.2344, allocations: 313.8 kB / 440.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.2344, allocations: 33.31 kB / 440.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.2345, allocations: 32.38 kB / 440.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006202/0.2351, allocations: 357.6 kB / 441.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2351, allocations: 0 / 441.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.2351, allocations: 16 kB / 441.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.2352, allocations: 8 kB / 441.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005277/0.2357, allocations: 250.1 kB / 441.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.2378, allocations: 1.316 MB / 442.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.2382, allocations: 193 kB / 442.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.2384, allocations: 81.69 kB / 443 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.2395, allocations: 1.204 MB / 444.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.2395, allocations: 34.56 kB / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.944e-06/0.2395, allocations: 0 / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005624/0.2401, allocations: 221.5 kB / 444.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.2401, allocations: 85.05 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.2404, allocations: 291 kB / 444.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2405, allocations: 29.7 kB / 444.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.2406, allocations: 240 kB / 445.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.2407, allocations: 71.42 kB / 445.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.2408, allocations: 65.97 kB / 445.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.241, allocations: 334.8 kB / 445.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.2411, allocations: 64.62 kB / 445.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.2414, allocations: 202.4 kB / 445.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.2418, allocations: 292.9 kB / 446.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2418, allocations: 0 / 446.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005606/0.2424, allocations: 315.7 kB / 446.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2424, allocations: 8 kB / 446.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.2424, allocations: 4 kB / 446.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.2424, allocations: 11.94 kB / 446.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.2427, allocations: 84.45 kB / 446.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.2427, allocations: 15.88 kB / 446.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.2429, allocations: 35.77 kB / 446.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.243, allocations: 16 kB / 446.5 MB, free: 8.262 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.0001579/0.2431, allocations: 157.7 kB / 446.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.2432, allocations: 27.81 kB / 446.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.904e-05/0.2433, allocations: 29.78 kB / 446.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2433, allocations: 0 / 446.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2433, allocations: 7.938 kB / 446.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.2434, allocations: 108.8 kB / 446.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.2434, allocations: 4 kB / 446.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.2436, allocations: 11.98 kB / 446.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.2437, allocations: 19.92 kB / 446.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005769/0.2442, allocations: 336.1 kB / 447.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006188/0.2449, allocations: 0.494 MB / 447.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001446/0.245, allocations: 63.98 kB / 447.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002077/0.2452, allocations: 206 kB / 448 MB, free: 6.762 MB / 350.1 MB Notification: Performance of Backend: time 4e-07/0.2452, allocations: 0 / 448 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008704/0.2461, allocations: 278.8 kB / 448.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of SimCode: time 0.001345/0.2474, allocations: 1.101 MB / 449.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of Templates: time 0.008528/0.256, allocations: 3.901 MB / 453.3 MB, free: 1.477 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.2660052152350545]