Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.0008815/0.0008815, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009107/0.0009107, allocations: 162.7 kB / 24.91 MB, free: 8.727 MB / 18.57 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 0.8553/0.8553, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 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.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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.217e-05, allocations: 2.312 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004046/0.004059, allocations: 4.913 MB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.006564, allocations: 2.155 MB / 280.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.00677, allocations: 16 kB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.008303, allocations: 1.493 MB / 282 MB, free: 8.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006659/0.008969, allocations: 433 kB / 282.4 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.01014, allocations: 1.167 MB / 283.6 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006908/0.01083, allocations: 0.7742 MB / 284.3 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005873/0.01142, allocations: 0.6162 MB / 284.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004008/0.01182, allocations: 490.9 kB / 285.4 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.01209, allocations: 343.1 kB / 285.8 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.225e-05/0.01215, allocations: 68 kB / 285.8 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004977/0.01265, allocations: 399.3 kB / 286.2 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.233e-05/0.01273, allocations: 171.3 kB / 286.4 MB, free: 4.145 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.01289, allocations: 259.3 kB / 286.6 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000727/0.01361, allocations: 0.907 MB / 287.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.01361, allocations: 0 / 287.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01362, allocations: 0 / 287.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.01362, allocations: 0 / 287.5 MB, free: 2.977 MB / 266.7 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.002059/0.01568, allocations: 1.455 MB / 289 MB, free: 1.492 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.685e-05/0.01571, allocations: 19.98 kB / 289 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.01699, allocations: 0.5119 MB / 289.5 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.01711, allocations: 204.7 kB / 289.7 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.01714, allocations: 66.36 kB / 289.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.274e-05/0.01723, allocations: 84.38 kB / 289.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09043/0.1077, allocations: 0.6363 MB / 290.5 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.1077, allocations: 7.516 kB / 290.5 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/0.1078, allocations: 32.06 kB / 290.6 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.1078, allocations: 20.19 kB / 290.6 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.1082, allocations: 291.7 kB / 290.9 MB, free: 18.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.1104, allocations: 1.891 MB / 292.8 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.1108, allocations: 348.3 kB / 293.1 MB, free: 18.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1109, allocations: 94.02 kB / 293.2 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.584e-05/0.111, allocations: 29.23 kB / 293.2 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.111, allocations: 39.27 kB / 293.2 MB, free: 18.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.873e-06/0.111, allocations: 0 / 293.2 MB, free: 18.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.0009237/0.1119, allocations: 0.5678 MB / 293.8 MB, free: 18.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.1119, allocations: 83.8 kB / 293.9 MB, free: 18.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.1121, allocations: 296.1 kB / 294.2 MB, free: 17.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1121, allocations: 32.7 kB / 294.2 MB, free: 17.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.881e-05/0.1122, allocations: 371.6 kB / 294.6 MB, free: 17.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/0.1123, allocations: 209.1 kB / 294.8 MB, free: 17.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.1124, allocations: 140.5 kB / 294.9 MB, free: 17.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.496e-05/0.1125, allocations: 357.6 kB / 295.3 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1126, allocations: 75.52 kB / 295.3 MB, free: 17.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.1127, allocations: 345.2 kB / 295.7 MB, free: 16.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.1131, allocations: 469.8 kB / 296.1 MB, free: 16.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.1131, allocations: 6.031 kB / 296.1 MB, free: 16.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.000476/0.1135, allocations: 460.1 kB / 296.6 MB, free: 16.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1136, allocations: 10.98 kB / 296.6 MB, free: 16.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.1136, allocations: 10.94 kB / 296.6 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/0.1139, allocations: 89.67 kB / 296.7 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.1142, allocations: 162.7 kB / 296.9 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007153/0.1149, allocations: 2.385 MB / 299.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.1152, allocations: 81.5 kB / 299.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.1152, allocations: 26.69 kB / 299.4 MB, free: 14.3 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (92): * Single equations (assignments): 90 * 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.0001135/0.1153, allocations: 171 kB / 299.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.1154, allocations: 46.66 kB / 299.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004001/0.1158, allocations: 348.7 kB / 299.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1158, allocations: 5.562 kB / 299.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1158, allocations: 4.25 kB / 299.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1158, allocations: 3.734 kB / 299.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006979/0.1165, allocations: 0.6507 MB / 300.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1165, allocations: 0.5156 kB / 300.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.1167, allocations: 98.47 kB / 300.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002441/0.117, allocations: 85.38 kB / 300.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.117, allocations: 18.34 kB / 300.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006035/0.1176, allocations: 2.376 MB / 303.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1176, allocations: 0.625 kB / 303.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.118, allocations: 482.4 kB / 303.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/0.1181, allocations: 58.62 kB / 303.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.1182, allocations: 16.22 kB / 303.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.1183, allocations: 17.25 kB / 303.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.1184, allocations: 46.19 kB / 303.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1184, allocations: 9.797 kB / 303.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.404e-05/0.1185, allocations: 104.1 kB / 303.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1185, allocations: 0 / 303.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004151/0.1189, allocations: 222.5 kB / 304.1 MB, free: 11.38 MB / 266.7 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 (55): * Single equations (assignments): 53 * 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.0001708/0.119, allocations: 142 kB / 304.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004559/0.1195, allocations: 0.5524 MB / 304.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.1195, allocations: 4.938 kB / 304.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.1197, allocations: 397.6 kB / 305.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.1199, allocations: 50.11 kB / 305.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.1212, allocations: 1.059 MB / 306.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.462e-05/0.1213, allocations: 137.5 kB / 306.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.1215, allocations: 82.11 kB / 306.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.1217, allocations: 122.7 kB / 306.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1217, allocations: 4 kB / 306.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of Templates: time 0.007923/0.1296, allocations: 6.507 MB / 313.1 MB, free: 8.172 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6456786687485874]