Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.81 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08254/0.08371, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005853/0.0896, allocations: 5.049 MB / 364 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.09249, allocations: 2.144 MB / 366.1 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.09268, allocations: 16 kB / 366.1 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.09546, allocations: 1.404 MB / 367.5 MB, free: 4.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000781/0.09625, allocations: 421.4 kB / 367.9 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.09821, allocations: 1.199 MB / 369.1 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006857/0.09891, allocations: 0.7356 MB / 369.9 MB, free: 2.316 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008597/0.09978, allocations: 0.665 MB / 370.5 MB, free: 1.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.1001, allocations: 338.8 kB / 370.9 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004244/0.1006, allocations: 422.3 kB / 371.3 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.49e-05/0.1007, allocations: 68 kB / 371.3 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005965/0.1013, allocations: 411.7 kB / 371.7 MB, free: 432 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1014, allocations: 159.4 kB / 371.9 MB, free: 272 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.134/0.2354, allocations: 383.8 kB / 372.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.237, allocations: 1.195 MB / 373.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.237, allocations: 0.9062 kB / 373.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.237, allocations: 0 / 373.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.237, allocations: 2.719 kB / 373.5 MB, free: 11.26 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003954/0.241, allocations: 1.456 MB / 374.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.241, allocations: 10.59 kB / 374.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.2436, allocations: 385 kB / 375.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.2438, allocations: 254.5 kB / 375.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.338e-05/0.2439, allocations: 63.03 kB / 375.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.2441, allocations: 81.92 kB / 375.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.2456, allocations: 0.8744 MB / 376.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.2456, allocations: 7.125 kB / 376.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.129e-05/0.2457, allocations: 31.94 kB / 376.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.2457, allocations: 19.91 kB / 376.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.2474, allocations: 0.7964 MB / 377.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003871/0.2512, allocations: 3.022 MB / 380.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.2523, allocations: 1.003 MB / 381.5 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.2528, allocations: 241.3 kB / 381.7 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.2529, allocations: 181.7 kB / 381.9 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.2529, allocations: 38.61 kB / 381.9 MB, free: 7.824 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.074e-06/0.253, allocations: 2.062 kB / 381.9 MB, free: 7.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006519/0.2595, allocations: 2.391 MB / 384.3 MB, free: 6.762 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.2595, allocations: 92.3 kB / 384.4 MB, free: 6.664 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.2598, allocations: 297.2 kB / 384.7 MB, free: 6.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.2599, allocations: 35.92 kB / 384.7 MB, free: 6.457 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.26, allocations: 363.2 kB / 385.1 MB, free: 6.168 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.2601, allocations: 211 kB / 385.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.2603, allocations: 147.1 kB / 385.4 MB, free: 5.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.377e-05/0.2604, allocations: 348.7 kB / 385.8 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/0.2611, allocations: 271.5 kB / 386 MB, free: 5.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007673/0.2619, allocations: 0.5 MB / 386.5 MB, free: 5.141 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.2633, allocations: 0.8068 MB / 387.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2633, allocations: 6.562 kB / 387.3 MB, free: 4.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001787/0.2651, allocations: 0.8961 MB / 388.2 MB, free: 4.328 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2651, allocations: 12.69 kB / 388.2 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.2651, allocations: 10.75 kB / 388.3 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.2654, allocations: 71.64 kB / 388.3 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/0.2662, allocations: 201.8 kB / 388.5 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.2675, allocations: 2.86 MB / 391.4 MB, free: 1.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/0.2681, allocations: 68.58 kB / 391.5 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.2682, allocations: 31.47 kB / 391.5 MB, free: 1.398 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0002404/0.2684, allocations: 219.8 kB / 391.7 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.163e-05/0.2685, allocations: 44.33 kB / 391.7 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.2702, allocations: 0.7382 MB / 392.5 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.2702, allocations: 6.875 kB / 392.5 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2702, allocations: 1.062 kB / 392.5 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2702, allocations: 2.344 kB / 392.5 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.2725, allocations: 1.419 MB / 393.9 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2725, allocations: 1.125 kB / 393.9 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/0.2731, allocations: 131.4 kB / 394 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.2733, allocations: 59.69 kB / 394.1 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.2733, allocations: 14.45 kB / 394.1 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.2751, allocations: 2.847 MB / 397 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2751, allocations: 1.375 kB / 397 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.2774, allocations: 1.085 MB / 398 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.2776, allocations: 162.3 kB / 398.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.2777, allocations: 10.88 kB / 398.2 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/0.2782, allocations: 54.78 kB / 398.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.2783, allocations: 40.31 kB / 398.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.2783, allocations: 21.47 kB / 398.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.2785, allocations: 208.4 kB / 398.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2785, allocations: 0 / 398.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006794/0.2792, allocations: 173.8 kB / 398.7 MB, free: 12.49 MB / 318.1 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 (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,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.0002667/0.2795, allocations: 163.8 kB / 398.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.2813, allocations: 0.9074 MB / 399.8 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2813, allocations: 0 / 399.8 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009076/0.2822, allocations: 0.5538 MB / 400.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.2827, allocations: 43.55 kB / 400.4 MB, free: 11.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.2851, allocations: 1.224 MB / 401.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.2855, allocations: 0.8794 MB / 402.5 MB, free: 9.988 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003505/0.2859, allocations: 94.31 kB / 402.6 MB, free: 9.934 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.286, allocations: 46.36 kB / 402.6 MB, free: 9.918 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.286, allocations: 0 / 402.6 MB, free: 9.918 MB / 318.1 MB Notification: Performance of Templates: time 0.01075/0.2968, allocations: 6.299 MB / 408.9 MB, free: 5.574 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches