Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.001852/0.001852, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002149/0.002149, allocations: 209.7 kB / 24.49 MB, free: 3.965 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 55.91 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2132, allocations: 53.37 MB / 432.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008455/0.2217, allocations: 5.85 MB / 438.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004469/0.2262, allocations: 2.457 MB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.2265, allocations: 23.94 kB / 440.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002956/0.2295, allocations: 1.197 MB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.2307, allocations: 0.524 MB / 442.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.2331, allocations: 1.19 MB / 443.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.2343, allocations: 1.071 MB / 444.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.2354, allocations: 0.7818 MB / 445.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005261/0.2359, allocations: 466.3 kB / 445.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006817/0.2366, allocations: 0.5407 MB / 446.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.2367, allocations: 96 kB / 446.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006978/0.2374, allocations: 415.6 kB / 446.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.2377, allocations: 243.1 kB / 447.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.2381, allocations: 426 kB / 447.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.2398, allocations: 1.532 MB / 449.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2398, allocations: 3.938 kB / 449.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2398, allocations: 0 / 449.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.2398, allocations: 0 / 449.1 MB, free: 5.91 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004586/0.2444, allocations: 1.7 MB / 450.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2445, allocations: 11.97 kB / 450.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/0.248, allocations: 475.8 kB / 451.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007341/0.2487, allocations: 445.3 kB / 451.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.67e-05/0.2488, allocations: 82.22 kB / 451.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.249, allocations: 116 kB / 451.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.251, allocations: 1.025 MB / 453 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.2511, allocations: 4 kB / 453 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.2512, allocations: 44 kB / 453 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.2512, allocations: 28 kB / 453 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.2532, allocations: 0.9496 MB / 454 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005832/0.2591, allocations: 2.945 MB / 456.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.2609, allocations: 0.8133 MB / 457.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008294/0.2617, allocations: 403 kB / 458.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.2618, allocations: 28.97 kB / 458.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009751/0.2628, allocations: 0.5097 MB / 458.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.775e-06/0.2628, allocations: 0 / 458.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009605/0.2724, allocations: 3.696 MB / 462.4 MB, free: 8.344 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.2725, allocations: 145.5 kB / 462.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.273, allocations: 385.5 kB / 462.9 MB, free: 7.785 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-05/0.273, allocations: 45.7 kB / 462.9 MB, free: 7.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.2734, allocations: 441 kB / 463.4 MB, free: 7.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/0.2737, allocations: 444.1 kB / 463.8 MB, free: 6.859 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/0.2741, allocations: 218.8 kB / 464 MB, free: 6.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.2743, allocations: 374.8 kB / 464.4 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000769/0.2751, allocations: 346.5 kB / 464.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009789/0.276, allocations: 0.5853 MB / 465.3 MB, free: 5.266 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.2778, allocations: 0.9265 MB / 466.2 MB, free: 4.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.2778, allocations: 4 kB / 466.2 MB, free: 4.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002811/0.2806, allocations: 1.363 MB / 467.6 MB, free: 2.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.2807, allocations: 11.94 kB / 467.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.2807, allocations: 4 kB / 467.6 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009574/0.2816, allocations: 347.1 kB / 467.9 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000938/0.2826, allocations: 207.7 kB / 468.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008621/0.2912, allocations: 7.893 MB / 476 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/0.2919, allocations: 44.17 kB / 476.1 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.761e-05/0.2919, allocations: 55.92 kB / 476.1 MB, free: 9.945 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004093/0.2924, allocations: 249.6 kB / 476.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.2925, allocations: 79.56 kB / 476.5 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/0.2954, allocations: 1.274 MB / 477.7 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.2954, allocations: 11.91 kB / 477.7 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2954, allocations: 4 kB / 477.7 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.2957, allocations: 143.4 kB / 477.9 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.2958, allocations: 24 kB / 477.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.2963, allocations: 31.98 kB / 477.9 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.2965, allocations: 116.7 kB / 478.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003548/0.3, allocations: 1.457 MB / 479.5 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002793/0.3028, allocations: 1.621 MB / 481.1 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007424/0.3036, allocations: 367.8 kB / 481.5 MB, free: 4.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003078/0.3039, allocations: 267.2 kB / 481.7 MB, free: 4.254 MB / 382.1 MB Notification: Performance of Backend: time 1.6e-07/0.3039, allocations: 0 / 481.7 MB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002957/0.3068, allocations: 1.484 MB / 483.2 MB, free: 2.715 MB / 382.1 MB Notification: Performance of SimCode: time 0.0031/0.3099, allocations: 2.421 MB / 485.7 MB, free: 240 kB / 382.1 MB Notification: Performance of Templates: time 0.02827/0.3382, allocations: 17.29 MB / 0.4912 GB, free: 15.05 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.0085494670056505]