Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 192.7 kB / 22.93 MB, free: 5.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 59.92 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2837, allocations: 49.12 MB / 394.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007085/0.2908, allocations: 6.514 MB / 401 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004364/0.2951, allocations: 2.616 MB / 403.6 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005481/0.2957, allocations: 18.84 kB / 403.7 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.2987, allocations: 1.282 MB / 405 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.3007, allocations: 0.718 MB / 405.7 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.303, allocations: 1.112 MB / 406.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.3043, allocations: 1.097 MB / 407.9 MB, free: 496 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.3054, allocations: 0.7013 MB / 408.6 MB, free: 68 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006892/0.3061, allocations: 445 kB / 409 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008486/0.307, allocations: 0.558 MB / 409.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.3071, allocations: 97.94 kB / 409.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.3082, allocations: 408.9 kB / 410.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.3084, allocations: 246.4 kB / 410.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000578/0.309, allocations: 0.5293 MB / 410.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.3112, allocations: 1.524 MB / 412.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3112, allocations: 0 / 412.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3112, allocations: 0 / 412.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.767e-05/0.3112, allocations: 0 / 412.4 MB, free: 13.99 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004957/0.3162, allocations: 1.681 MB / 414 MB, free: 12.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3162, allocations: 13.39 kB / 414.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003879/0.3201, allocations: 0.5765 MB / 414.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008321/0.321, allocations: 0.509 MB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.172e-05/0.321, allocations: 89.67 kB / 415.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.3212, allocations: 110.9 kB / 415.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.3232, allocations: 1.013 MB / 416.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.3232, allocations: 1.156 kB / 416.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.3234, allocations: 50.33 kB / 416.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.921e-05/0.3234, allocations: 27.06 kB / 416.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.3255, allocations: 1.027 MB / 417.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006448/0.332, allocations: 3.846 MB / 421.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.3344, allocations: 1.995 MB / 423.3 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007746/0.3351, allocations: 410.2 kB / 423.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.3353, allocations: 104.5 kB / 423.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009099/0.3362, allocations: 485 kB / 424.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 2.345e-06/0.3362, allocations: 1.062 kB / 424.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009689/0.3459, allocations: 4.024 MB / 428.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.346, allocations: 145.5 kB / 428.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.3466, allocations: 409.9 kB / 428.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.56e-05/0.3467, allocations: 45.7 kB / 428.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.347, allocations: 456.8 kB / 429.3 MB, free: 172 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004026/0.3474, allocations: 456.3 kB / 429.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003474/0.3478, allocations: 214.9 kB / 430 MB, free: 15.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.348, allocations: 386.5 kB / 430.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007602/0.3488, allocations: 362.5 kB / 430.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009658/0.3497, allocations: 0.5847 MB / 431.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.3515, allocations: 1.001 MB / 432.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3515, allocations: 4 kB / 432.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002787/0.3543, allocations: 1.429 MB / 433.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3543, allocations: 11.94 kB / 433.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3543, allocations: 4 kB / 433.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009221/0.3552, allocations: 351.1 kB / 434.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008901/0.3561, allocations: 215.7 kB / 434.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00924/0.3654, allocations: 8.493 MB / 442.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000903/0.3663, allocations: 43.98 kB / 442.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-05/0.3664, allocations: 48 kB / 442.9 MB, free: 1.836 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.000555/0.3669, allocations: 265.5 kB / 443.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.3671, allocations: 83.55 kB / 443.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.3698, allocations: 1.313 MB / 444.5 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.3699, allocations: 16 kB / 444.6 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.3699, allocations: 7.938 kB / 444.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.3699, allocations: 7.969 kB / 444.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00454/0.3744, allocations: 2.538 MB / 447.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.3744, allocations: 4.125 kB / 447.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/0.3752, allocations: 160 kB / 447.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008286/0.376, allocations: 327.1 kB / 447.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/0.3761, allocations: 28 kB / 447.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008674/0.3847, allocations: 8.116 MB / 455.7 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.3847, allocations: 4 kB / 455.7 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003643/0.3884, allocations: 1.834 MB / 457.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004339/0.3888, allocations: 224.6 kB / 457.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.3889, allocations: 27.98 kB / 457.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.3895, allocations: 39.98 kB / 457.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.3897, allocations: 96.98 kB / 457.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/0.3897, allocations: 36 kB / 458 MB, free: 1.984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003683/0.3901, allocations: 279.2 kB / 458.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3901, allocations: 0 / 458.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001375/0.3915, allocations: 323.9 kB / 458.6 MB, free: 1.395 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * 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.0003583/0.3919, allocations: 175 kB / 458.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003101/0.395, allocations: 1.589 MB / 460.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.395, allocations: 0 / 460.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.3968, allocations: 1.1 MB / 461.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/0.3974, allocations: 81.95 kB / 461.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.4014, allocations: 2.02 MB / 463.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007397/0.4022, allocations: 1.036 MB / 464.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004384/0.4026, allocations: 106.4 kB / 464.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.4028, allocations: 51.44 kB / 464.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.392e-06/0.4028, allocations: 0 / 464.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of Templates: time 0.02263/0.4254, allocations: 11.81 MB / 476.5 MB, free: 15.21 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.224085497669876]