Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00177/0.00177, allocations: 111.4 kB / 17.99 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002095/0.002095, allocations: 213.8 kB / 18.93 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247.1 MB, free: 8.945 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002892/0.002892, allocations: 69.41 kB / 307.1 MB, free: 0.6914 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1195, allocations: 50.53 MB / 357.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004421/0.1239, allocations: 2.859 MB / 360.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1254, allocations: 0.7867 MB / 361.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.1255, allocations: 4 kB / 361.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.1258, allocations: 47.64 kB / 361.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.126, allocations: 79.42 kB / 361.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.1263, allocations: 91.92 kB / 361.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.1267, allocations: 394.5 kB / 361.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.1269, allocations: 126.9 kB / 362.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.1272, allocations: 159.4 kB / 362.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.1274, allocations: 171.2 kB / 362.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.1275, allocations: 36 kB / 362.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.099e-05/0.1275, allocations: 32 kB / 362.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.794e-05/0.1276, allocations: 71.77 kB / 362.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.1278, allocations: 175.1 kB / 362.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.1281, allocations: 303.5 kB / 363 MB, free: 8.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1281, allocations: 0 / 363 MB, free: 8.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1281, allocations: 4 kB / 363 MB, free: 8.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1281, allocations: 0 / 363 MB, free: 8.828 MB / 302.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.001178/0.1293, allocations: 0.6393 MB / 363.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1294, allocations: 12.03 kB / 363.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.497e-05/0.1294, allocations: 44.41 kB / 363.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.1298, allocations: 260.7 kB / 363.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.1298, allocations: 32.97 kB / 364 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.1299, allocations: 32.31 kB / 364 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.1305, allocations: 290.4 kB / 364.3 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1305, allocations: 3.984 kB / 364.3 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.1306, allocations: 15.98 kB / 364.3 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1306, allocations: 12 kB / 364.3 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006195/0.1312, allocations: 246.5 kB / 364.5 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.1331, allocations: 1.116 MB / 365.7 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.1335, allocations: 154.5 kB / 365.8 MB, free: 5.793 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.1337, allocations: 64.83 kB / 365.9 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.1337, allocations: 7.906 kB / 365.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1338, allocations: 38.5 kB / 365.9 MB, free: 5.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.1338, allocations: 0 / 365.9 MB, free: 5.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002059/0.1358, allocations: 0.5931 MB / 366.5 MB, free: 5.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1359, allocations: 55.39 kB / 366.6 MB, free: 5.004 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.1362, allocations: 274.5 kB / 366.8 MB, free: 4.723 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.1363, allocations: 29.7 kB / 366.9 MB, free: 4.688 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1365, allocations: 219.5 kB / 367.1 MB, free: 4.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.299e-05/0.1365, allocations: 82.89 kB / 367.2 MB, free: 4.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.1367, allocations: 61.61 kB / 367.2 MB, free: 4.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1368, allocations: 334.8 kB / 367.6 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.1371, allocations: 107.7 kB / 367.7 MB, free: 3.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.1375, allocations: 196.2 kB / 367.8 MB, free: 3.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.1382, allocations: 299 kB / 368.1 MB, free: 3.309 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1382, allocations: 0 / 368.1 MB, free: 3.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008626/0.1391, allocations: 393 kB / 368.5 MB, free: 2.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1391, allocations: 4 kB / 368.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1391, allocations: 4 kB / 368.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/0.1394, allocations: 65.94 kB / 368.6 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.1397, allocations: 71.89 kB / 368.7 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1587/0.2984, allocations: 2.824 MB / 371.5 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.2988, allocations: 24.28 kB / 371.5 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.2989, allocations: 23.28 kB / 371.5 MB, free: 18.94 MB / 302.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.000162/0.299, allocations: 148.9 kB / 371.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.2991, allocations: 25.16 kB / 371.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.761e-05/0.2992, allocations: 33.12 kB / 371.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2992, allocations: 3.469 kB / 371.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2992, allocations: 1.094 kB / 371.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2992, allocations: 7.188 kB / 371.8 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.2996, allocations: 327 kB / 372.1 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2996, allocations: 1.766 kB / 372.1 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.2998, allocations: 40.14 kB / 372.1 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001761/0.3, allocations: 57.53 kB / 372.2 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.3, allocations: 9.688 kB / 372.2 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.3015, allocations: 2.838 MB / 375 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3015, allocations: 0 / 375 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/0.3022, allocations: 370.6 kB / 375.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.3023, allocations: 98.73 kB / 375.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.3023, allocations: 5.281 kB / 375.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3025, allocations: 20.53 kB / 375.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.3026, allocations: 22.02 kB / 375.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3026, allocations: 9 kB / 375.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002016/0.3028, allocations: 187.6 kB / 375.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3028, allocations: 1.781 kB / 375.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004249/0.3033, allocations: 74.66 kB / 375.8 MB, free: 15.63 MB / 302.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.0001189/0.3034, allocations: 97.61 kB / 375.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009712/0.3044, allocations: 499.6 kB / 376.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3044, allocations: 0 / 376.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004569/0.3049, allocations: 341.9 kB / 376.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.3053, allocations: 31.25 kB / 376.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.3064, allocations: 0.7145 MB / 377.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.3066, allocations: 0.7714 MB / 378.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.091e-05/0.3067, allocations: 24.45 kB / 378.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3067, allocations: 0 / 378.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of Templates: time 0.009182/0.3159, allocations: 5.955 MB / 384.2 MB, free: 13.02 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches