Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.002095/0.002095, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.002371/0.002371, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 45.73 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08303/0.08458, allocations: 52.17 MB / 371.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004092/0.08867, allocations: 2.654 MB / 374.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.08989, allocations: 0.705 MB / 374.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.09003, allocations: 8 kB / 375 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.09024, allocations: 63.42 kB / 375 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.0905, allocations: 103.2 kB / 375.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.09076, allocations: 99.81 kB / 375.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.09119, allocations: 406.4 kB / 375.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.09137, allocations: 87.28 kB / 375.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.09161, allocations: 167.4 kB / 375.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.09182, allocations: 151.2 kB / 376 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.09188, allocations: 36 kB / 376 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-05/0.09194, allocations: 32 kB / 376.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.09202, allocations: 79.69 kB / 376.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.09217, allocations: 143.3 kB / 376.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.0926, allocations: 410.3 kB / 376.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.0926, allocations: 0 / 376.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.0926, allocations: 4 kB / 376.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.09261, allocations: 0 / 376.7 MB, free: 2.195 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.001324/0.09394, allocations: 0.5753 MB / 377.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.09398, allocations: 8.922 kB / 377.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.133e-05/0.09407, allocations: 48.64 kB / 377.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.09449, allocations: 218.9 kB / 377.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.09454, allocations: 28.95 kB / 377.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.09459, allocations: 32.38 kB / 377.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006031/0.09519, allocations: 290.4 kB / 377.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.0952, allocations: 0 / 377.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.09523, allocations: 12 kB / 377.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.09525, allocations: 15.92 kB / 377.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006392/0.09588, allocations: 258.5 kB / 378.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.09748, allocations: 0.8674 MB / 379 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.09787, allocations: 150.5 kB / 379.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.09807, allocations: 60.83 kB / 379.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.09809, allocations: 7.922 kB / 379.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.09812, allocations: 38.56 kB / 379.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.09812, allocations: 0 / 379.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002136/0.1003, allocations: 0.5946 MB / 379.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.1003, allocations: 55.41 kB / 379.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.1006, allocations: 285.7 kB / 380.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1006, allocations: 33.64 kB / 380.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.1008, allocations: 228.1 kB / 380.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.45e-05/0.1008, allocations: 75.38 kB / 380.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.101, allocations: 65.66 kB / 380.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1011, allocations: 346.7 kB / 380.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.1014, allocations: 95.94 kB / 381 MB, free: 13.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.1018, allocations: 195.9 kB / 381.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/0.1025, allocations: 305.1 kB / 381.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1025, allocations: 0 / 381.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009232/0.1034, allocations: 397.4 kB / 381.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1034, allocations: 4 kB / 381.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1034, allocations: 4 kB / 381.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002419/0.1037, allocations: 61.7 kB / 382 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.104, allocations: 71.89 kB / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.1061, allocations: 2.58 MB / 384.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.1064, allocations: 32.06 kB / 384.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.1064, allocations: 16.12 kB / 384.7 MB, free: 9.684 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.0001649/0.1066, allocations: 153.7 kB / 384.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.1067, allocations: 35.72 kB / 384.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.087e-05/0.1067, allocations: 34.27 kB / 384.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1067, allocations: 0 / 384.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.1067, allocations: 8 kB / 384.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1067, allocations: 3.984 kB / 384.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.107, allocations: 225.2 kB / 385.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.107, allocations: 3.938 kB / 385.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.1073, allocations: 43.95 kB / 385.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001586/0.1074, allocations: 53.62 kB / 385.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1074, allocations: 11.98 kB / 385.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.1095, allocations: 2.572 MB / 387.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1095, allocations: 0 / 387.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007687/0.1102, allocations: 380 kB / 388.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.1103, allocations: 19.81 kB / 388.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.1103, allocations: 8 kB / 388.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.1105, allocations: 19.97 kB / 388.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.1106, allocations: 19.91 kB / 388.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.1106, allocations: 7.938 kB / 388.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.1108, allocations: 197.2 kB / 388.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1108, allocations: 4 kB / 388.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003938/0.1112, allocations: 72 kB / 388.5 MB, free: 5.57 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.0001083/0.1113, allocations: 103.2 kB / 388.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009693/0.1123, allocations: 477 kB / 389.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1123, allocations: 0 / 389.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.1128, allocations: 342 kB / 389.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1132, allocations: 32.42 kB / 389.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1143, allocations: 0.5577 MB / 390 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.1144, allocations: 164.8 kB / 390.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.1145, allocations: 34.36 kB / 390.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.1146, allocations: 24.5 kB / 390.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1146, allocations: 0 / 390.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of Templates: time 0.007055/0.1217, allocations: 2.823 MB / 393.1 MB, free: 1.004 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.438899350934662]