Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001738/0.001738, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00198/0.00198, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.459/1.459, allocations: 230.4 MB / 251.1 MB, free: 8.449 MB / 206.1 MB 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.002038/0.002038, allocations: 75.81 kB / 369 MB, free: 6.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2401, allocations: 53.31 MB / 422.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00682/0.2469, allocations: 5.114 MB / 427.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003828/0.2507, allocations: 2.176 MB / 429.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003475/0.2511, allocations: 19.94 kB / 429.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003188/0.2543, allocations: 1.415 MB / 431 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.2554, allocations: 421.4 kB / 431.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.2577, allocations: 1.21 MB / 432.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009357/0.2586, allocations: 0.7472 MB / 433.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008168/0.2595, allocations: 0.5051 MB / 433.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.2599, allocations: 330.8 kB / 434.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005306/0.2604, allocations: 438.3 kB / 434.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.637e-05/0.2605, allocations: 72 kB / 434.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008264/0.2614, allocations: 411.7 kB / 435.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.2615, allocations: 167.4 kB / 435.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.2619, allocations: 386 kB / 435.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.2634, allocations: 1.218 MB / 436.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2634, allocations: 0 / 436.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2634, allocations: 0 / 436.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.2634, allocations: 3.938 kB / 436.9 MB, free: 9.23 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004553/0.268, allocations: 1.489 MB / 438.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.268, allocations: 11.97 kB / 438.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/0.2706, allocations: 368.1 kB / 438.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.271, allocations: 259.4 kB / 439 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.777e-05/0.2711, allocations: 74.36 kB / 439 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.2712, allocations: 84.38 kB / 439.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.2732, allocations: 0.8718 MB / 440 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.2732, allocations: 3.953 kB / 440 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.064e-05/0.2733, allocations: 32 kB / 440 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.2733, allocations: 20 kB / 440.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.2751, allocations: 0.7925 MB / 440.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004646/0.2797, allocations: 3.026 MB / 443.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.281, allocations: 0.9611 MB / 444.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005029/0.2815, allocations: 214.4 kB / 445 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.2817, allocations: 182.8 kB / 445.2 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.2818, allocations: 47.06 kB / 445.3 MB, free: 348 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.884e-06/0.2818, allocations: 0 / 445.3 MB, free: 348 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007334/0.2891, allocations: 2.397 MB / 447.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.2892, allocations: 85.61 kB / 447.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.2895, allocations: 324.3 kB / 448.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.2896, allocations: 37.7 kB / 448.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.2898, allocations: 367.9 kB / 448.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.29, allocations: 226.1 kB / 448.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.2903, allocations: 142.6 kB / 448.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2904, allocations: 350.7 kB / 449.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007504/0.2912, allocations: 269.8 kB / 449.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009497/0.2921, allocations: 0.5003 MB / 449.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.2938, allocations: 0.8115 MB / 450.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2938, allocations: 4 kB / 450.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002111/0.2959, allocations: 0.8907 MB / 451.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.2959, allocations: 11.94 kB / 451.6 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.296, allocations: 8 kB / 451.7 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.2962, allocations: 77.98 kB / 451.7 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008734/0.2971, allocations: 195.7 kB / 451.9 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.2994, allocations: 2.861 MB / 454.8 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006635/0.3, allocations: 67.91 kB / 454.9 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.3001, allocations: 39.98 kB / 454.9 MB, free: 6.066 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0003131/0.3004, allocations: 217.5 kB / 455.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.951e-05/0.3005, allocations: 43.7 kB / 455.1 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.3025, allocations: 0.7274 MB / 455.9 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.3025, allocations: 8 kB / 455.9 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3025, allocations: 3.938 kB / 455.9 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3025, allocations: 7.922 kB / 455.9 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.3052, allocations: 1.421 MB / 457.3 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3052, allocations: 4 kB / 457.3 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.3059, allocations: 123.8 kB / 457.4 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/0.3062, allocations: 65.61 kB / 457.5 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.3062, allocations: 15.98 kB / 457.5 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.3085, allocations: 2.849 MB / 460.4 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3085, allocations: 0 / 460.4 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.311, allocations: 1.079 MB / 461.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.3113, allocations: 172.7 kB / 461.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.3114, allocations: 8 kB / 461.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.3119, allocations: 47.94 kB / 461.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.312, allocations: 48.56 kB / 461.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-05/0.3121, allocations: 19.98 kB / 461.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003754/0.3125, allocations: 215.1 kB / 461.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3125, allocations: 0 / 461.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001145/0.3136, allocations: 187.9 kB / 462.1 MB, free: 14.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (58): * Single equations (assignments): 56 * 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.0004053/0.314, allocations: 163 kB / 462.3 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002854/0.3169, allocations: 0.8811 MB / 463.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3169, allocations: 0 / 463.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.3182, allocations: 0.5199 MB / 463.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/0.3189, allocations: 53.02 kB / 463.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.323, allocations: 1.202 MB / 464.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/0.3237, allocations: 0.8888 MB / 465.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005804/0.3243, allocations: 92.5 kB / 465.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.3245, allocations: 47.42 kB / 466 MB, free: 10.46 MB / 382.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3245, allocations: 0 / 466 MB, free: 10.46 MB / 382.1 MB Notification: Performance of Templates: time 0.02049/0.345, allocations: 6.725 MB / 472.7 MB, free: 3.789 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches