Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 95.94 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 204.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002019/0.000202, allocations: 8 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.09775, allocations: 51.49 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003735/0.1015, allocations: 2.263 MB / 360.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.1038, allocations: 1.087 MB / 361.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.1039, allocations: 12 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.1043, allocations: 99.42 kB / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.1047, allocations: 127.6 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.1061, allocations: 0.5374 MB / 362.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.1066, allocations: 203.6 kB / 362.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009121/0.1075, allocations: 0.5064 MB / 362.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.1077, allocations: 111.6 kB / 363 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.1079, allocations: 131.5 kB / 363.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.1079, allocations: 19.98 kB / 363.2 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/0.1083, allocations: 143.8 kB / 363.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.1084, allocations: 47.77 kB / 363.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.762e-05/0.1085, allocations: 77.58 kB / 363.4 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000562/0.1091, allocations: 371.3 kB / 363.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.1091, allocations: 3.938 kB / 363.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1091, allocations: 0 / 363.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1091, allocations: 0 / 363.8 MB, free: 8.164 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002174/0.1113, allocations: 0.6707 MB / 364.5 MB, free: 7.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.1113, allocations: 8.031 kB / 364.5 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.1127, allocations: 127.5 kB / 364.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.1131, allocations: 251.3 kB / 364.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.1131, allocations: 24.66 kB / 364.9 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.1132, allocations: 35.95 kB / 364.9 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007594/0.114, allocations: 329 kB / 365.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.114, allocations: 0 / 365.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.1141, allocations: 16 kB / 365.2 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.1141, allocations: 8 kB / 365.3 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005718/0.1147, allocations: 238.5 kB / 365.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.1175, allocations: 1.455 MB / 366.9 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009459/0.1185, allocations: 0.6939 MB / 367.6 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.1187, allocations: 170.2 kB / 367.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.1188, allocations: 50.44 kB / 367.8 MB, free: 3.711 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 2.565e-06/0.1188, allocations: 0 / 367.8 MB, free: 3.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001743/0.1205, allocations: 490.8 kB / 368.3 MB, free: 3.207 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.1206, allocations: 59.27 kB / 368.4 MB, free: 3.137 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.1208, allocations: 177.1 kB / 368.6 MB, free: 2.949 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.1209, allocations: 29.7 kB / 368.6 MB, free: 2.914 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.121, allocations: 175.9 kB / 368.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.934e-05/0.1211, allocations: 82.89 kB / 368.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.1212, allocations: 8 kB / 368.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1213, allocations: 322.8 kB / 369.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.1215, allocations: 72.53 kB / 369.2 MB, free: 2.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.1218, allocations: 129 kB / 369.4 MB, free: 2.102 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.122, allocations: 86.11 kB / 369.4 MB, free: 2.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1221, allocations: 0 / 369.4 MB, free: 2.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008172/0.1229, allocations: 332 kB / 369.8 MB, free: 1.688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1229, allocations: 8 kB / 369.8 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1229, allocations: 0 / 369.8 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004177/0.1234, allocations: 72.75 kB / 369.8 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.1237, allocations: 47.92 kB / 369.9 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1505/0.2742, allocations: 1.854 MB / 371.7 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.2744, allocations: 23.14 kB / 371.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.2745, allocations: 14.75 kB / 371.8 MB, free: 18.12 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.2746, allocations: 148.2 kB / 371.9 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.2747, allocations: 18.53 kB / 371.9 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005342/0.2752, allocations: 280.7 kB / 372.2 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2752, allocations: 3.125 kB / 372.2 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2752, allocations: 1.75 kB / 372.2 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.2752, allocations: 5.812 kB / 372.2 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009119/0.2761, allocations: 0.6862 MB / 372.9 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2762, allocations: 1.453 kB / 372.9 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.2763, allocations: 30.66 kB / 372.9 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.2765, allocations: 71.56 kB / 373 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.2766, allocations: 7.188 kB / 373 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.2781, allocations: 1.855 MB / 374.9 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2781, allocations: 2.141 kB / 374.9 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005922/0.2787, allocations: 456.4 kB / 375.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.2788, allocations: 114.7 kB / 375.4 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.2788, allocations: 1.484 kB / 375.4 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.279, allocations: 4.875 kB / 375.4 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.279, allocations: 19.3 kB / 375.5 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.279, allocations: 12.47 kB / 375.5 MB, free: 16.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.67e-05/0.2791, allocations: 126.3 kB / 375.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2791, allocations: 0 / 375.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.2796, allocations: 95.88 kB / 375.7 MB, free: 15.96 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_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 (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001747/0.2798, allocations: 127.6 kB / 375.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005192/0.2803, allocations: 343.7 kB / 376.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2803, allocations: 0.8125 kB / 376.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.2806, allocations: 246.9 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.0002275/0.2809, allocations: 23.73 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.0009461/0.2818, allocations: 0.7046 MB / 377.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.282, allocations: 0.7617 MB / 377.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.2821, allocations: 20.97 kB / 377.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.2822, allocations: 21 kB / 377.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2822, allocations: 0 / 377.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of Templates: time 0.006485/0.2887, allocations: 2.47 MB / 380.4 MB, free: 14.29 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches