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.0007943/0.0007943, allocations: 102.2 kB / 17 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008363/0.0008363, allocations: 193.7 kB / 17.91 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000221/0.000221, allocations: 8 kB / 307.1 MB, free: 1.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.0898, allocations: 51.52 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002623/0.09247, allocations: 2.389 MB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.09348, allocations: 0.7325 MB / 361.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.09361, allocations: 4 kB / 361.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.09377, allocations: 55.61 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.09399, allocations: 79.44 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.0942, allocations: 79.91 kB / 362 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.09453, allocations: 350.6 kB / 362.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.09471, allocations: 98.06 kB / 362.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.09494, allocations: 139.4 kB / 362.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.09512, allocations: 143.3 kB / 362.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.09516, allocations: 20 kB / 362.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.84e-05/0.09521, allocations: 16 kB / 362.7 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.09526, allocations: 59.75 kB / 362.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.09533, allocations: 85.52 kB / 362.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.09558, allocations: 287.4 kB / 363.1 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.09559, allocations: 0 / 363.1 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.0956, allocations: 7.938 kB / 363.1 MB, free: 9.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.09561, allocations: 0 / 363.1 MB, free: 9.09 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.0009518/0.09657, allocations: 0.6003 MB / 363.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.09661, allocations: 8.031 kB / 363.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.716e-05/0.09668, allocations: 43.53 kB / 363.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.09697, allocations: 267.3 kB / 364.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.09701, allocations: 24.66 kB / 364.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.09706, allocations: 35.94 kB / 364.1 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.09763, allocations: 298 kB / 364.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.09765, allocations: 0 / 364.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.09769, allocations: 16 kB / 364.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.0977, allocations: 8 kB / 364.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/0.0983, allocations: 266.5 kB / 364.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.09988, allocations: 1.128 MB / 365.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.1002, allocations: 154.6 kB / 366 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.1004, allocations: 68.81 kB / 366 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1005, allocations: 4 kB / 366 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1005, allocations: 34.56 kB / 366.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.1005, allocations: 4 kB / 366.1 MB, free: 5.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.00191/0.1024, allocations: 0.6674 MB / 366.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.1025, allocations: 55.59 kB / 366.8 MB, free: 5.195 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.1027, allocations: 266.6 kB / 367.1 MB, free: 4.926 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1028, allocations: 33.7 kB / 367.1 MB, free: 4.887 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.1029, allocations: 227.5 kB / 367.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.1029, allocations: 70.92 kB / 367.4 MB, free: 4.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.103, allocations: 4 kB / 367.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1031, allocations: 346.8 kB / 367.7 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.1034, allocations: 107.7 kB / 367.8 MB, free: 4.133 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.1037, allocations: 204.1 kB / 368 MB, free: 3.887 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.104, allocations: 129.1 kB / 368.2 MB, free: 3.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.104, allocations: 0 / 368.2 MB, free: 3.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008029/0.1048, allocations: 419.4 kB / 368.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1049, allocations: 8 kB / 368.6 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1049, allocations: 0 / 368.6 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.1051, allocations: 57.69 kB / 368.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.1054, allocations: 75.89 kB / 368.7 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.1072, allocations: 2.64 MB / 371.3 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.1075, allocations: 27.89 kB / 371.4 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.1075, allocations: 19.98 kB / 371.4 MB, free: 248 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.1077, allocations: 150.3 kB / 371.5 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.1077, allocations: 27.73 kB / 371.6 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.816e-05/0.1078, allocations: 38.17 kB / 371.6 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1078, allocations: 7.938 kB / 371.6 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1078, allocations: 4 kB / 371.6 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1078, allocations: 0 / 371.6 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1587/0.2666, allocations: 323.5 kB / 371.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2666, allocations: 0.6094 kB / 371.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.2669, allocations: 46.77 kB / 372 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/0.2671, allocations: 56.25 kB / 372 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.2671, allocations: 5.391 kB / 372 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.2684, allocations: 2.626 MB / 374.7 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2684, allocations: 2.812 kB / 374.7 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/0.2691, allocations: 398.4 kB / 375.1 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.2691, allocations: 102.6 kB / 375.2 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.2692, allocations: 5.203 kB / 375.2 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.2694, allocations: 21.25 kB / 375.2 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.2695, allocations: 27.53 kB / 375.2 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.2695, allocations: 8.109 kB / 375.2 MB, free: 16.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.2696, allocations: 184.5 kB / 375.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2696, allocations: 0 / 375.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004086/0.2701, allocations: 70.78 kB / 375.5 MB, free: 16.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.569e-05/0.2702, allocations: 100.8 kB / 375.6 MB, free: 16.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008737/0.271, allocations: 0.4941 MB / 376.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2711, allocations: 0 / 376.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004344/0.2715, allocations: 354 kB / 376.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.2719, allocations: 36.89 kB / 376.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.2729, allocations: 0.6753 MB / 377.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.2732, allocations: 0.7744 MB / 377.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.2733, allocations: 29.73 kB / 377.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.217e-05/0.2734, allocations: 22.03 kB / 377.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2734, allocations: 0 / 377.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of Templates: time 0.006248/0.2797, allocations: 2.437 MB / 380.4 MB, free: 14.37 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/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