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.001604/0.001604, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.00178/0.00178, allocations: 204.8 kB / 24.48 MB, free: 3.695 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.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001502/0.001502, allocations: 47.94 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2492, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008432/0.2577, allocations: 5.856 MB / 438.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005181/0.2628, allocations: 2.461 MB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008837/0.2637, allocations: 23.94 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003344/0.2671, allocations: 1.189 MB / 441.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.269, allocations: 0.524 MB / 442.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.2717, allocations: 1.19 MB / 443.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.2735, allocations: 1.071 MB / 444.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.2748, allocations: 0.7932 MB / 445.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000701/0.2755, allocations: 458.3 kB / 445.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007912/0.2763, allocations: 0.5485 MB / 446.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.2765, allocations: 96 kB / 446.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.2775, allocations: 407.6 kB / 446.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.2777, allocations: 239.1 kB / 447.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005245/0.2783, allocations: 430 kB / 447.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.2803, allocations: 1.537 MB / 449.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2803, allocations: 0 / 449.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2803, allocations: 4 kB / 449.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.2803, allocations: 0 / 449.1 MB, free: 5.855 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.004699/0.285, allocations: 1.696 MB / 450.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2851, allocations: 8.031 kB / 450.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/0.2885, allocations: 475.8 kB / 451.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009887/0.2894, allocations: 449.2 kB / 451.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.116e-05/0.2895, allocations: 86.16 kB / 451.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.2897, allocations: 112 kB / 451.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.2919, allocations: 1.025 MB / 452.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/0.292, allocations: 4 kB / 452.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.2921, allocations: 44 kB / 453 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.2921, allocations: 28 kB / 453 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.2941, allocations: 0.9535 MB / 454 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006259/0.3003, allocations: 2.937 MB / 456.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.3021, allocations: 0.8133 MB / 457.7 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008257/0.303, allocations: 398.9 kB / 458.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.3031, allocations: 28.97 kB / 458.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009984/0.3041, allocations: 0.5174 MB / 458.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.016e-06/0.3041, allocations: 3.938 kB / 458.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009564/0.3137, allocations: 3.7 MB / 462.4 MB, free: 8.285 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.3138, allocations: 145.5 kB / 462.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.3143, allocations: 385.5 kB / 462.9 MB, free: 7.727 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.386e-05/0.3143, allocations: 49.7 kB / 462.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000369/0.3147, allocations: 437 kB / 463.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/0.3151, allocations: 444.1 kB / 463.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/0.3154, allocations: 206.9 kB / 464 MB, free: 6.594 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.3156, allocations: 378.8 kB / 464.4 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007273/0.3164, allocations: 346.5 kB / 464.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009523/0.3173, allocations: 0.5853 MB / 465.3 MB, free: 5.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.319, allocations: 0.9265 MB / 466.2 MB, free: 4.234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.319, allocations: 3.938 kB / 466.2 MB, free: 4.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002814/0.3219, allocations: 1.355 MB / 467.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.3219, allocations: 11.94 kB / 467.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.3219, allocations: 4 kB / 467.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.3229, allocations: 355.1 kB / 467.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009788/0.3239, allocations: 203.7 kB / 468.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008935/0.3328, allocations: 7.894 MB / 476 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009371/0.3338, allocations: 43.98 kB / 476.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.3339, allocations: 55.92 kB / 476.1 MB, free: 9.895 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.0005132/0.3344, allocations: 257.7 kB / 476.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.3345, allocations: 71.58 kB / 476.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/0.3374, allocations: 1.274 MB / 477.7 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.3374, allocations: 19.88 kB / 477.7 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.3374, allocations: 8 kB / 477.7 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.3374, allocations: 7.969 kB / 477.8 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004417/0.3418, allocations: 2.209 MB / 480 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.3418, allocations: 0 / 480 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007721/0.3426, allocations: 155.8 kB / 480.1 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008938/0.3435, allocations: 333.4 kB / 480.4 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.699e-05/0.3436, allocations: 24 kB / 480.5 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00833/0.3519, allocations: 7.537 MB / 488 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/0.3519, allocations: 3.938 kB / 488 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003751/0.3557, allocations: 1.802 MB / 489.8 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003962/0.3561, allocations: 147.5 kB / 489.9 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3562, allocations: 27.94 kB / 490 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/0.3567, allocations: 35.98 kB / 490 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.357, allocations: 108.7 kB / 490.1 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.649e-05/0.357, allocations: 43.98 kB / 490.2 MB, free: 11.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003137/0.3574, allocations: 251.2 kB / 490.4 MB, free: 11.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3574, allocations: 0 / 490.4 MB, free: 11.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001339/0.3587, allocations: 320 kB / 490.7 MB, free: 10.74 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003518/0.3591, allocations: 171 kB / 490.9 MB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002955/0.362, allocations: 1.549 MB / 492.4 MB, free: 8.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.362, allocations: 0 / 492.4 MB, free: 8.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.3638, allocations: 1.11 MB / 493.5 MB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.3644, allocations: 83.47 kB / 493.6 MB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.3685, allocations: 1.961 MB / 495.6 MB, free: 5.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.3691, allocations: 436 kB / 496 MB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.3693, allocations: 71.41 kB / 496.1 MB, free: 5.176 MB / 398.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3693, allocations: 4 kB / 496.1 MB, free: 5.172 MB / 398.1 MB Notification: Performance of Templates: time 0.03297/0.4023, allocations: 27.32 MB / 0.5111 GB, free: 9.781 MB / 430.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: 8.79665318701882]