Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001794/0.001794, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.002134/0.002134, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.515/1.515, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.88 kB / 373.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1071, allocations: 53.31 MB / 427.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005315/0.1124, allocations: 2.843 MB / 430 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.1145, allocations: 0.7866 MB / 430.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004285/0.1149, allocations: 8 kB / 430.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004277/0.1154, allocations: 67.42 kB / 430.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006385/0.116, allocations: 99.17 kB / 430.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.1165, allocations: 119.7 kB / 431.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006633/0.1172, allocations: 378.6 kB / 431.4 MB, free: 204 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.1174, allocations: 102.9 kB / 431.5 MB, free: 96 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2524/0.3698, allocations: 161.2 kB / 431.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.3701, allocations: 163.4 kB / 431.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-05/0.3702, allocations: 33.09 kB / 431.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.242e-05/0.3702, allocations: 33.19 kB / 431.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.3703, allocations: 77.8 kB / 432 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.3705, allocations: 172.8 kB / 432.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.3709, allocations: 396.5 kB / 432.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.371, allocations: 3.688 kB / 432.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.371, allocations: 1.344 kB / 432.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.371, allocations: 0 / 432.6 MB, free: 8.125 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001038/0.372, allocations: 0.6522 MB / 433.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.372, allocations: 13.22 kB / 433.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.505e-05/0.3721, allocations: 38.92 kB / 433.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.3725, allocations: 270.9 kB / 433.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.3725, allocations: 26.62 kB / 433.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.3725, allocations: 31.41 kB / 433.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.3731, allocations: 290.5 kB / 433.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3731, allocations: 3.938 kB / 433.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.3731, allocations: 13.12 kB / 433.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.3731, allocations: 10.19 kB / 433.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.3737, allocations: 253.9 kB / 434.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.3751, allocations: 1.105 MB / 435.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.3755, allocations: 142.6 kB / 435.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.3757, allocations: 72.06 kB / 435.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.3757, allocations: 5.578 kB / 435.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.3757, allocations: 34.81 kB / 435.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.3757, allocations: 0 / 435.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002084/0.3778, allocations: 0.5995 MB / 436.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.3778, allocations: 54.5 kB / 436.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.3781, allocations: 268.5 kB / 436.4 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3781, allocations: 30.83 kB / 436.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.485e-05/0.3782, allocations: 228.1 kB / 436.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.3783, allocations: 83.52 kB / 436.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-05/0.3784, allocations: 71 kB / 436.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.638e-05/0.3784, allocations: 341.2 kB / 437.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.3787, allocations: 92.92 kB / 437.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.379, allocations: 196.9 kB / 437.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005832/0.3796, allocations: 302.8 kB / 437.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3796, allocations: 1.375 kB / 437.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008213/0.3804, allocations: 390 kB / 438.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3804, allocations: 7.312 kB / 438.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3804, allocations: 6.719 kB / 438.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/0.3807, allocations: 55.72 kB / 438.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.381, allocations: 74.05 kB / 438.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.3824, allocations: 2.836 MB / 441.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.3827, allocations: 27.64 kB / 441.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.3827, allocations: 21.91 kB / 441.1 MB, free: 2.781 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.3829, allocations: 152.5 kB / 441.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.3829, allocations: 24.53 kB / 441.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.006e-05/0.383, allocations: 32.03 kB / 441.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.383, allocations: 2.812 kB / 441.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.383, allocations: 1.25 kB / 441.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.383, allocations: 1.406 kB / 441.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.3834, allocations: 332.4 kB / 441.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3834, allocations: 4.703 kB / 441.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.3836, allocations: 41.14 kB / 441.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000143/0.3837, allocations: 51.31 kB / 441.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.3837, allocations: 7.453 kB / 441.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.3853, allocations: 2.828 MB / 444.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3853, allocations: 5.594 kB / 444.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007921/0.3861, allocations: 372.7 kB / 445 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.3862, allocations: 100.9 kB / 445.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.3862, allocations: 6.859 kB / 445.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.3864, allocations: 21.39 kB / 445.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.3865, allocations: 19.66 kB / 445.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.3865, allocations: 11.38 kB / 445.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.3867, allocations: 187.4 kB / 445.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3867, allocations: 1.406 kB / 445.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004363/0.3872, allocations: 69.84 kB / 445.4 MB, free: 15.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001418/0.3873, allocations: 106.1 kB / 445.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3883, allocations: 477.3 kB / 445.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3884, allocations: 3.938 kB / 445.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005439/0.3889, allocations: 340.6 kB / 446.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.3892, allocations: 32.02 kB / 446.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3904, allocations: 0.5572 MB / 446.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.3908, allocations: 0.7714 MB / 447.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.391, allocations: 27.27 kB / 447.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/0.391, allocations: 20.64 kB / 447.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.391, allocations: 4 kB / 447.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of Templates: time 0.007985/0.399, allocations: 2.805 MB / 450.5 MB, free: 13.14 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.654757768847048]