Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001602/0.001602, allocations: 79.73 kB / 21.25 MB, free: 384 kB / 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.001451/0.001451, allocations: 163.1 kB / 24.5 MB, free: 3.441 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.435/1.435, allocations: 177.1 MB / 204.7 MB, free: 9.008 MB / 190.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.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 66.17 kB / 325.5 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09391/0.09592, allocations: 53.39 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004822/0.1007, allocations: 3.239 MB / 382.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.1025, allocations: 0.9192 MB / 383.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.1027, allocations: 11.94 kB / 383.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.103, allocations: 103 kB / 383.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003829/0.1033, allocations: 166.7 kB / 383.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.1037, allocations: 175.7 kB / 383.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006503/0.1044, allocations: 0.6346 MB / 384.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.1046, allocations: 138 kB / 384.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.1049, allocations: 247 kB / 384.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.1052, allocations: 238.7 kB / 384.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.254e-05/0.1053, allocations: 52 kB / 384.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.842e-05/0.1054, allocations: 52 kB / 384.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1055, allocations: 119.5 kB / 385 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.1057, allocations: 242.8 kB / 385.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006744/0.1064, allocations: 0.6378 MB / 385.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1064, allocations: 0 / 385.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1064, allocations: 0 / 385.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.1064, allocations: 0 / 385.9 MB, free: 8.535 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001474/0.1079, allocations: 0.7934 MB / 386.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1079, allocations: 15.92 kB / 386.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.1081, allocations: 64.52 kB / 386.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.1086, allocations: 294.1 kB / 387 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.1086, allocations: 37.69 kB / 387.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.1087, allocations: 52.38 kB / 387.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008447/0.1095, allocations: 450.3 kB / 387.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1095, allocations: 0 / 387.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.1096, allocations: 23.98 kB / 387.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.1096, allocations: 12 kB / 387.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.1105, allocations: 385 kB / 388 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.1129, allocations: 1.259 MB / 389.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/0.1136, allocations: 300.9 kB / 389.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004124/0.114, allocations: 161.4 kB / 389.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.1141, allocations: 4.328 kB / 389.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1141, allocations: 42.83 kB / 389.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.814e-06/0.1141, allocations: 0 / 389.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003494/0.1176, allocations: 1.199 MB / 390.9 MB, free: 3.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.1176, allocations: 59.91 kB / 391 MB, free: 3.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.1181, allocations: 405.5 kB / 391.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.1181, allocations: 33.7 kB / 391.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.1184, allocations: 320.6 kB / 391.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.1185, allocations: 198.3 kB / 391.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.1187, allocations: 106.3 kB / 392 MB, free: 2.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1189, allocations: 362.8 kB / 392.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.1193, allocations: 177.2 kB / 392.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/0.1199, allocations: 295.2 kB / 392.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/0.1209, allocations: 0.4962 MB / 393.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.1209, allocations: 4 kB / 393.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001515/0.1224, allocations: 0.7327 MB / 394.1 MB, free: 20 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1224, allocations: 7.938 kB / 394.1 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.1224, allocations: 8 kB / 394.1 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/0.123, allocations: 189.5 kB / 394.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.1235, allocations: 111.8 kB / 394.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004398/0.1279, allocations: 3.959 MB / 398.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.1283, allocations: 39.86 kB / 398.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.1284, allocations: 24 kB / 398.4 MB, free: 11.48 MB / 366.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 (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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002431/0.1286, allocations: 181.7 kB / 398.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/0.1287, allocations: 47.72 kB / 398.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.1288, allocations: 61.02 kB / 398.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1288, allocations: 8 kB / 398.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.1288, allocations: 4 kB / 398.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1288, allocations: 3.938 kB / 398.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/0.1311, allocations: 1.145 MB / 399.8 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.1311, allocations: 0 / 399.8 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.1315, allocations: 71.89 kB / 399.9 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.1319, allocations: 157.6 kB / 400.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.1319, allocations: 12 kB / 400.1 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003914/0.1358, allocations: 3.815 MB / 403.9 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1358, allocations: 4.031 kB / 403.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.1371, allocations: 0.6889 MB / 404.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-05/0.1372, allocations: 51.66 kB / 404.6 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.1373, allocations: 16 kB / 404.6 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.1376, allocations: 19.97 kB / 404.7 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1377, allocations: 52.34 kB / 404.7 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.1377, allocations: 19.94 kB / 404.7 MB, free: 4.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003127/0.138, allocations: 271.3 kB / 405 MB, free: 4.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.138, allocations: 3.938 kB / 405 MB, free: 4.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007064/0.1387, allocations: 156 kB / 405.2 MB, free: 4.406 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001358/0.1389, allocations: 114.6 kB / 405.3 MB, free: 4.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.1404, allocations: 0.7579 MB / 406 MB, free: 3.496 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1404, allocations: 0 / 406 MB, free: 3.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008437/0.1413, allocations: 0.5127 MB / 406.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.1417, allocations: 45.42 kB / 406.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.1435, allocations: 0.9711 MB / 407.6 MB, free: 1.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1438, allocations: 263 kB / 407.8 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000162/0.1439, allocations: 44.25 kB / 407.9 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.092e-05/0.144, allocations: 32.48 kB / 407.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.144, allocations: 0 / 407.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of Templates: time 0.01143/0.1554, allocations: 5.123 MB / 413 MB, free: 12.45 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.55871561600361]