Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001717/0.001717, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002326/0.002326, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.89 kB / 379.1 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2843, allocations: 53.41 MB / 432.5 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.009078/0.2934, allocations: 6.752 MB / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005135/0.2985, allocations: 2.498 MB / 441.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000742/0.2993, allocations: 28 kB / 441.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004399/0.3037, allocations: 1.886 MB / 443.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.3056, allocations: 0.5589 MB / 444.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.3084, allocations: 1.334 MB / 445.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001854/0.3103, allocations: 1.113 MB / 446.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.3118, allocations: 0.8385 MB / 447.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008081/0.3126, allocations: 498.1 kB / 448 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007356/0.3133, allocations: 0.6225 MB / 448.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.3134, allocations: 100 kB / 448.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.3145, allocations: 447.7 kB / 449.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.3147, allocations: 247.1 kB / 449.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005442/0.3152, allocations: 0.5597 MB / 449.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.3174, allocations: 1.673 MB / 451.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3174, allocations: 0 / 451.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3174, allocations: 0 / 451.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.3175, allocations: 0 / 451.6 MB, free: 3.551 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006381/0.3238, allocations: 1.986 MB / 453.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.3239, allocations: 8.031 kB / 453.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003338/0.3272, allocations: 491.8 kB / 454.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.3276, allocations: 260.8 kB / 454.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.3277, allocations: 94.95 kB / 454.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/0.328, allocations: 132.3 kB / 454.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/0.3304, allocations: 1.304 MB / 455.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/0.3305, allocations: 3.984 kB / 455.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.3306, allocations: 55.98 kB / 455.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/0.3306, allocations: 28 kB / 455.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.3331, allocations: 1.189 MB / 457.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007407/0.3405, allocations: 4.028 MB / 461.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.3426, allocations: 1.145 MB / 462.3 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009122/0.3435, allocations: 460 kB / 462.7 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.3437, allocations: 44.94 kB / 462.8 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.3437, allocations: 43.56 kB / 462.8 MB, free: 8.039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 5.41e-06/0.3437, allocations: 3.984 kB / 462.8 MB, free: 8.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01037/0.3541, allocations: 3.537 MB / 466.4 MB, free: 4.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.3542, allocations: 90.11 kB / 466.5 MB, free: 4.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/0.3547, allocations: 393.5 kB / 466.8 MB, free: 3.969 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-05/0.3548, allocations: 49.7 kB / 466.9 MB, free: 3.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.3552, allocations: 464.6 kB / 467.3 MB, free: 3.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004376/0.3556, allocations: 452.1 kB / 467.8 MB, free: 3.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003528/0.356, allocations: 231.5 kB / 468 MB, free: 2.773 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002302/0.3562, allocations: 378.8 kB / 468.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.3572, allocations: 427.8 kB / 468.8 MB, free: 1.977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.3585, allocations: 0.6918 MB / 469.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/0.3608, allocations: 1.179 MB / 470.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.3608, allocations: 8 kB / 470.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.00308/0.3639, allocations: 1.462 MB / 472.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3639, allocations: 20.11 kB / 472.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.364, allocations: 8 kB / 472.2 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/0.3645, allocations: 197.5 kB / 472.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.3657, allocations: 291.6 kB / 472.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/0.3703, allocations: 4.156 MB / 476.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009902/0.3713, allocations: 79.95 kB / 476.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.735e-05/0.3714, allocations: 55.98 kB / 476.9 MB, free: 9.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00051/0.3719, allocations: 269.5 kB / 477.2 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.3721, allocations: 67.58 kB / 477.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/0.3754, allocations: 1.331 MB / 478.6 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.3754, allocations: 12 kB / 478.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.3755, allocations: 7.938 kB / 478.6 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.3755, allocations: 3.984 kB / 478.6 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005226/0.3807, allocations: 2.566 MB / 481.2 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.3807, allocations: 3.938 kB / 481.2 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009853/0.3817, allocations: 207.7 kB / 481.4 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004768/0.3822, allocations: 169.6 kB / 481.6 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-05/0.3823, allocations: 31.98 kB / 481.6 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004569/0.3868, allocations: 3.982 MB / 485.6 MB, free: 428 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.3868, allocations: 3.938 kB / 485.6 MB, free: 424 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004266/0.3911, allocations: 1.869 MB / 487.4 MB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000441/0.3915, allocations: 151.5 kB / 487.6 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.3917, allocations: 20.11 kB / 487.6 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007264/0.3924, allocations: 67.89 kB / 487.7 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.3926, allocations: 96.88 kB / 487.8 MB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.857e-05/0.3927, allocations: 35.98 kB / 487.8 MB, free: 14.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004348/0.3931, allocations: 271.2 kB / 488.1 MB, free: 13.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3931, allocations: 0 / 488.1 MB, free: 13.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0013/0.3944, allocations: 303.9 kB / 488.4 MB, free: 13.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 104 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004311/0.3949, allocations: 182.9 kB / 488.5 MB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00338/0.3983, allocations: 1.386 MB / 489.9 MB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.3983, allocations: 9.062 kB / 489.9 MB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/0.4, allocations: 0.8075 MB / 490.8 MB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006064/0.4006, allocations: 72.55 kB / 490.8 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.4053, allocations: 1.926 MB / 492.7 MB, free: 9.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008747/0.4062, allocations: 1.005 MB / 493.8 MB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/0.4066, allocations: 95.39 kB / 493.8 MB, free: 7.973 MB / 398.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4066, allocations: 0 / 493.8 MB, free: 7.973 MB / 398.1 MB Notification: Performance of Templates: time 0.03538/0.442, allocations: 20.22 MB / 0.502 GB, free: 3.746 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.336649317992851]