Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.00171/0.00171, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002022/0.002022, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.039 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-beta.om/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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 68.75 kB / 379.1 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2434, allocations: 53.36 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004785/0.2482, allocations: 2.887 MB / 435.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.2498, allocations: 0.8061 MB / 436.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.25, allocations: 4 kB / 436.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.2503, allocations: 67.36 kB / 436.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.2506, allocations: 103.2 kB / 436.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.251, allocations: 107.9 kB / 436.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000441/0.2514, allocations: 394.5 kB / 436.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.2516, allocations: 99.33 kB / 436.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.2519, allocations: 171.3 kB / 437 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.2522, allocations: 171.1 kB / 437.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/0.2522, allocations: 36 kB / 437.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.567e-05/0.2523, allocations: 36 kB / 437.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.573e-05/0.2524, allocations: 83.73 kB / 437.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.2525, allocations: 183 kB / 437.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.253, allocations: 404 kB / 437.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.253, allocations: 0 / 437.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.253, allocations: 0 / 437.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.253, allocations: 0 / 437.9 MB, free: 1.387 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00121/0.2542, allocations: 0.587 MB / 438.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2542, allocations: 8.031 kB / 438.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.2543, allocations: 44.7 kB / 438.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.2547, allocations: 217.6 kB / 438.8 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.2547, allocations: 29.03 kB / 438.8 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.2548, allocations: 32.38 kB / 438.8 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/0.2554, allocations: 294.3 kB / 439.1 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2554, allocations: 0 / 439.1 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.2554, allocations: 19.98 kB / 439.1 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.2555, allocations: 8 kB / 439.1 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006292/0.2561, allocations: 246.5 kB / 439.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.2579, allocations: 1.052 MB / 440.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.2582, allocations: 146.5 kB / 440.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.2584, allocations: 64.73 kB / 440.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.2585, allocations: 0 / 440.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.2585, allocations: 42.55 kB / 440.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 9.82e-07/0.2585, allocations: 0 / 440.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002005/0.2605, allocations: 0.591 MB / 441.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.2605, allocations: 59.34 kB / 441.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.2608, allocations: 288.1 kB / 441.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.2609, allocations: 33.7 kB / 441.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.261, allocations: 236.1 kB / 441.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/0.2611, allocations: 75.38 kB / 442 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-05/0.2612, allocations: 65.66 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2613, allocations: 334.8 kB / 442.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.2616, allocations: 95.88 kB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.262, allocations: 196 kB / 442.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/0.2626, allocations: 305.1 kB / 442.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2626, allocations: 8 kB / 442.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009109/0.2636, allocations: 397.4 kB / 443.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2636, allocations: 8 kB / 443.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2636, allocations: 4 kB / 443.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.2638, allocations: 65.61 kB / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.2642, allocations: 67.89 kB / 443.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.2664, allocations: 2.642 MB / 446.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.2667, allocations: 19.98 kB / 446.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.2667, allocations: 16 kB / 446.1 MB, free: 8.594 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.00018/0.2669, allocations: 161.6 kB / 446.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/0.267, allocations: 27.81 kB / 446.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.43e-05/0.267, allocations: 34.36 kB / 446.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.267, allocations: 4 kB / 446.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.267, allocations: 0 / 446.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.267, allocations: 3.984 kB / 446.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.2674, allocations: 308.5 kB / 446.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2674, allocations: 0 / 446.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.2676, allocations: 39.91 kB / 446.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/0.2678, allocations: 61.67 kB / 446.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.2678, allocations: 4 kB / 446.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.27, allocations: 2.63 MB / 449.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.27, allocations: 0 / 449.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007483/0.2707, allocations: 375 kB / 449.8 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.2708, allocations: 31.75 kB / 449.8 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.2708, allocations: 0 / 449.8 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.271, allocations: 23.91 kB / 449.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.2711, allocations: 19.97 kB / 449.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.2711, allocations: 8 kB / 449.9 MB, free: 4.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002149/0.2713, allocations: 199.1 kB / 450 MB, free: 4.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2713, allocations: 0 / 450 MB, free: 4.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.2717, allocations: 80 kB / 450.1 MB, free: 4.305 MB / 350.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.0001172/0.2719, allocations: 99.19 kB / 450.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009293/0.2728, allocations: 484 kB / 450.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2728, allocations: 4 kB / 450.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005206/0.2733, allocations: 342 kB / 451 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.2736, allocations: 28.92 kB / 451.1 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.2749, allocations: 0.5498 MB / 451.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.2753, allocations: 0.7753 MB / 452.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.2755, allocations: 30.41 kB / 452.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.2755, allocations: 23.44 kB / 452.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2755, allocations: 0 / 452.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of Templates: time 0.00732/0.2828, allocations: 3.015 MB / 455.5 MB, free: 14.9 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.443417880684137]