Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001652/0.001652, allocations: 75.12 kB / 21.24 MB, free: 0.543 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.001942/0.001942, allocations: 161.7 kB / 24.5 MB, free: 3.719 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.384/1.384, allocations: 177.1 MB / 204.7 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 179] 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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 65.95 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.1001, allocations: 53.38 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004184/0.1043, allocations: 2.683 MB / 381.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1056, allocations: 0.7477 MB / 382.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1057, allocations: 8 kB / 382.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.1059, allocations: 67.36 kB / 382.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.1062, allocations: 103.2 kB / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.1065, allocations: 123.7 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.1069, allocations: 394.5 kB / 383 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.1071, allocations: 95.27 kB / 383.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.1074, allocations: 167.4 kB / 383.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.1076, allocations: 151.2 kB / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.1077, allocations: 36 kB / 383.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.769e-05/0.1077, allocations: 36 kB / 383.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.498e-05/0.1078, allocations: 79.73 kB / 383.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.1079, allocations: 147.3 kB / 383.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.1084, allocations: 410.3 kB / 384.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1084, allocations: 3.938 kB / 384.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1084, allocations: 0 / 384.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1084, allocations: 0 / 384.1 MB, free: 10.26 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.001166/0.1095, allocations: 0.5831 MB / 384.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1096, allocations: 11.98 kB / 384.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.1097, allocations: 36.7 kB / 384.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.11, allocations: 221.7 kB / 385 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.11, allocations: 25.03 kB / 385 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.1101, allocations: 36.36 kB / 385 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006069/0.1107, allocations: 294.4 kB / 385.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1107, allocations: 0 / 385.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.1108, allocations: 12 kB / 385.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1108, allocations: 8 kB / 385.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006369/0.1114, allocations: 250.4 kB / 385.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.1131, allocations: 0.8791 MB / 386.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.1134, allocations: 138.6 kB / 386.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.1136, allocations: 64.73 kB / 386.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.1136, allocations: 11.92 kB / 386.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.1137, allocations: 38.5 kB / 386.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.1137, allocations: 0 / 386.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002084/0.1158, allocations: 0.5866 MB / 387.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1158, allocations: 59.41 kB / 387.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.1161, allocations: 285.7 kB / 387.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1161, allocations: 29.7 kB / 387.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.1163, allocations: 236 kB / 387.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.1164, allocations: 87.3 kB / 388 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.652e-05/0.1165, allocations: 61.66 kB / 388 MB, free: 6.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1166, allocations: 338.8 kB / 388.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.1169, allocations: 95.94 kB / 388.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.1173, allocations: 204 kB / 388.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006532/0.118, allocations: 301.1 kB / 389 MB, free: 5.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.118, allocations: 0 / 389 MB, free: 5.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008881/0.1188, allocations: 404.9 kB / 389.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1189, allocations: 11.98 kB / 389.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1189, allocations: 8.391 kB / 389.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002542/0.1191, allocations: 65.67 kB / 389.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.1195, allocations: 75.89 kB / 389.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.1216, allocations: 2.584 MB / 392.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.1218, allocations: 15.98 kB / 392.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.1219, allocations: 16 kB / 392.1 MB, free: 1.742 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.0001578/0.122, allocations: 153.9 kB / 392.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.1221, allocations: 27.8 kB / 392.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.568e-05/0.1222, allocations: 34.27 kB / 392.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1222, allocations: 0 / 392.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1222, allocations: 4 kB / 392.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1222, allocations: 0 / 392.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.1225, allocations: 225.2 kB / 392.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1225, allocations: 3.938 kB / 392.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.1227, allocations: 43.91 kB / 392.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001572/0.1228, allocations: 57.67 kB / 392.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.1228, allocations: 8 kB / 392.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.1249, allocations: 2.577 MB / 395.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1249, allocations: 0 / 395.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/0.1256, allocations: 375.8 kB / 395.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.1257, allocations: 27.8 kB / 395.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.1257, allocations: 4 kB / 395.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.1259, allocations: 20.05 kB / 395.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.126, allocations: 23.95 kB / 395.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.126, allocations: 7.938 kB / 395.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.1262, allocations: 189.2 kB / 395.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1262, allocations: 0 / 395.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003953/0.1266, allocations: 72 kB / 395.9 MB, free: 13.64 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.0001201/0.1267, allocations: 115.3 kB / 396.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009458/0.1276, allocations: 457.7 kB / 396.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1276, allocations: 4.016 kB / 396.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005231/0.1282, allocations: 345.2 kB / 396.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1285, allocations: 38.44 kB / 396.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1296, allocations: 0.5646 MB / 397.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.1297, allocations: 164.8 kB / 397.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.1298, allocations: 26.28 kB / 397.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/0.1299, allocations: 28.44 kB / 397.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1299, allocations: 0 / 397.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Templates: time 0.007238/0.1371, allocations: 2.852 MB / 400.5 MB, free: 9.039 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.233014967059717]