Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 114.3 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 206 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2213/0.2213, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 71.88 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2796, allocations: 62.44 MB / 0.5316 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002683/0.2823, allocations: 1.731 MB / 0.5333 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001591/0.2825, allocations: 86.16 kB / 0.5334 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.2826, allocations: 2.656 kB / 0.5334 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.984e-05/0.2826, allocations: 16.95 kB / 0.5334 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.2827, allocations: 18.36 kB / 0.5334 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.984e-05/0.2828, allocations: 26.48 kB / 0.5335 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.2829, allocations: 106.6 kB / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.2831, allocations: 58.08 kB / 0.5336 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.92e-05/0.2832, allocations: 44.34 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.2833, allocations: 56.14 kB / 0.5337 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.2833, allocations: 11 kB / 0.5337 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.665e-05/0.2833, allocations: 11 kB / 0.5337 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.2834, allocations: 22.67 kB / 0.5338 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.2834, allocations: 46.92 kB / 0.5338 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.2836, allocations: 116.2 kB / 0.5339 GB, free: 11.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2836, allocations: 1.375 kB / 0.5339 GB, free: 11.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2836, allocations: 0 / 0.5339 GB, free: 11.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2836, allocations: 4 kB / 0.5339 GB, free: 11.78 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006033/0.2842, allocations: 418.4 kB / 0.5343 GB, free: 11.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2843, allocations: 9.625 kB / 0.5343 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.2843, allocations: 10.34 kB / 0.5343 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.2845, allocations: 180.2 kB / 0.5345 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.2845, allocations: 8.5 kB / 0.5345 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.2845, allocations: 13.86 kB / 0.5345 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.2848, allocations: 124 kB / 0.5347 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2849, allocations: 8.109 kB / 0.5347 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.2849, allocations: 9.312 kB / 0.5347 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2849, allocations: 1.375 kB / 0.5347 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.2852, allocations: 105.5 kB / 0.5348 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.2859, allocations: 477.5 kB / 0.5352 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.2861, allocations: 80.47 kB / 0.5353 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.2863, allocations: 65.81 kB / 0.5354 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.2863, allocations: 4.734 kB / 0.5354 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.2864, allocations: 31.53 kB / 0.5354 GB, free: 10.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2864, allocations: 1.312 kB / 0.5354 GB, free: 10.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007386/0.2871, allocations: 271.2 kB / 0.5357 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.2872, allocations: 56.75 kB / 0.5357 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.933e-05/0.2873, allocations: 117.8 kB / 0.5358 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2873, allocations: 26.86 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.2874, allocations: 112.9 kB / 0.536 GB, free: 9.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.2874, allocations: 17.83 kB / 0.536 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.2874, allocations: 18.12 kB / 0.536 GB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2876, allocations: 317.1 kB / 0.5363 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.2877, allocations: 36.55 kB / 0.5363 GB, free: 9.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.2879, allocations: 64.89 kB / 0.5364 GB, free: 9.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.2882, allocations: 98.06 kB / 0.5365 GB, free: 9.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.2882, allocations: 3.938 kB / 0.5365 GB, free: 9.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003679/0.2885, allocations: 146.5 kB / 0.5366 GB, free: 9.309 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2886, allocations: 5.531 kB / 0.5366 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.2886, allocations: 1.125 kB / 0.5366 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.2888, allocations: 27.66 kB / 0.5367 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.2889, allocations: 20.11 kB / 0.5367 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.29, allocations: 1.41 MB / 0.5381 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.793e-05/0.2901, allocations: 15.36 kB / 0.5381 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.2901, allocations: 2.344 kB / 0.5381 GB, free: 7.812 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.806e-05/0.2902, allocations: 118.4 kB / 0.5382 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.2902, allocations: 14.95 kB / 0.5382 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.2902, allocations: 10.91 kB / 0.5382 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2902, allocations: 3.938 kB / 0.5382 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.2903, allocations: 5.219 kB / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2903, allocations: 4.062 kB / 0.5382 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.2909, allocations: 419 kB / 0.5386 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2909, allocations: 1.5 kB / 0.5386 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.988e-05/0.291, allocations: 14.33 kB / 0.5386 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-05/0.291, allocations: 31.47 kB / 0.5387 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.291, allocations: 0 / 0.5387 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008439/0.2919, allocations: 1.403 MB / 0.54 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2919, allocations: 5 kB / 0.54 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.2923, allocations: 246.2 kB / 0.5403 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.2924, allocations: 91.55 kB / 0.5404 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.2924, allocations: 1.062 kB / 0.5404 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.2925, allocations: 11.11 kB / 0.5404 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.2925, allocations: 15.23 kB / 0.5404 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.2925, allocations: 2.562 kB / 0.5404 GB, free: 5.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.554e-05/0.2926, allocations: 97.03 kB / 0.5405 GB, free: 5.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2926, allocations: 0 / 0.5405 GB, free: 5.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.2929, allocations: 30.69 kB / 0.5405 GB, free: 5.344 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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 8.913e-05/0.293, allocations: 92.44 kB / 0.5406 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004619/0.2934, allocations: 205.1 kB / 0.5408 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2934, allocations: 4.125 kB / 0.5408 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.2937, allocations: 162.9 kB / 0.541 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.294, allocations: 5.484 kB / 0.541 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.2944, allocations: 247.7 kB / 0.5412 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.2946, allocations: 0.7055 MB / 0.5419 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.2947, allocations: 10.81 kB / 0.5419 GB, free: 4.012 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2947, allocations: 0 / 0.5419 GB, free: 4.012 MB / 398.1 MB Notification: Performance of Templates: time 0.0029/0.2976, allocations: 1.591 MB / 0.5435 GB, free: 3.184 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches