Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 112.9 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 208.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1906/0.1906, allocations: 46.09 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 75.86 kB / 482 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2778, allocations: 62.44 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003178/0.281, allocations: 2.489 MB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.2824, allocations: 1.09 MB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.2825, allocations: 5.5 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.2836, allocations: 0.4996 MB / 0.5356 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.2838, allocations: 105.2 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007641/0.2846, allocations: 487.3 kB / 0.5362 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.2848, allocations: 225.4 kB / 0.5364 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003849/0.2852, allocations: 251.7 kB / 0.5366 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.2854, allocations: 105.8 kB / 0.5367 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.2855, allocations: 125.1 kB / 0.5369 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.2856, allocations: 21.84 kB / 0.5369 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.2858, allocations: 149.5 kB / 0.537 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.2859, allocations: 54.39 kB / 0.5371 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.286, allocations: 113.2 kB / 0.5372 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.2864, allocations: 402.6 kB / 0.5376 GB, free: 9.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2864, allocations: 0 / 0.5376 GB, free: 9.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2864, allocations: 0 / 0.5376 GB, free: 9.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2864, allocations: 0 / 0.5376 GB, free: 9.113 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001094/0.2875, allocations: 0.6194 MB / 0.5382 GB, free: 8.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.2876, allocations: 13.97 kB / 0.5382 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/0.2879, allocations: 58.75 kB / 0.5382 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.2881, allocations: 194.3 kB / 0.5384 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2881, allocations: 19.72 kB / 0.5385 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.2881, allocations: 23.94 kB / 0.5385 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.2886, allocations: 288.4 kB / 0.5387 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.2887, allocations: 0 / 0.5387 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.2887, allocations: 19.28 kB / 0.5388 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.2887, allocations: 5.719 kB / 0.5388 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004861/0.2892, allocations: 227.1 kB / 0.539 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.2905, allocations: 0.9934 MB / 0.54 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.291, allocations: 373.9 kB / 0.5403 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.2913, allocations: 149.8 kB / 0.5405 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.2914, allocations: 165.7 kB / 0.5406 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.2915, allocations: 39.94 kB / 0.5407 GB, free: 6.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.2915, allocations: 1.688 kB / 0.5407 GB, free: 6.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001026/0.2925, allocations: 0.5003 MB / 0.5411 GB, free: 6.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.2926, allocations: 87.27 kB / 0.5412 GB, free: 5.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2927, allocations: 137.2 kB / 0.5414 GB, free: 5.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.2927, allocations: 30.83 kB / 0.5414 GB, free: 5.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.2928, allocations: 143.2 kB / 0.5415 GB, free: 5.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.2928, allocations: 70.42 kB / 0.5416 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.2929, allocations: 34.34 kB / 0.5416 GB, free: 5.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.293, allocations: 322.3 kB / 0.5419 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.2932, allocations: 76.19 kB / 0.542 GB, free: 5.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.2934, allocations: 118.4 kB / 0.5421 GB, free: 5.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.2938, allocations: 205.7 kB / 0.5423 GB, free: 5.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2938, allocations: 0 / 0.5423 GB, free: 5.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005562/0.2944, allocations: 283.9 kB / 0.5426 GB, free: 4.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2944, allocations: 5.469 kB / 0.5426 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2944, allocations: 2.188 kB / 0.5426 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.2946, allocations: 49.2 kB / 0.5426 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.2947, allocations: 50.64 kB / 0.5427 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.2965, allocations: 2.835 MB / 0.5455 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.2966, allocations: 27.66 kB / 0.5455 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.2967, allocations: 13.72 kB / 0.5455 GB, free: 1.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * 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.0001171/0.2968, allocations: 141.3 kB / 0.5456 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.2968, allocations: 13.56 kB / 0.5456 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005565/0.2974, allocations: 265.3 kB / 0.5459 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2974, allocations: 2.562 kB / 0.5459 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2974, allocations: 5.078 kB / 0.5459 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2974, allocations: 0 / 0.5459 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009634/0.2984, allocations: 0.6403 MB / 0.5465 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2984, allocations: 8.953 kB / 0.5465 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.2986, allocations: 33.52 kB / 0.5466 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.2987, allocations: 59.95 kB / 0.5466 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.2987, allocations: 2.438 kB / 0.5466 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.3004, allocations: 2.842 MB / 0.5494 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3004, allocations: 1.438 kB / 0.5494 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007853/0.3012, allocations: 0.5108 MB / 0.5499 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.3012, allocations: 97.08 kB / 0.55 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3013, allocations: 6.359 kB / 0.55 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.3014, allocations: 15.8 kB / 0.55 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.3015, allocations: 25.08 kB / 0.55 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.3015, allocations: 9.141 kB / 0.5501 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.311e-05/0.3016, allocations: 109 kB / 0.5502 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3016, allocations: 4.875 kB / 0.5502 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004038/0.302, allocations: 67.41 kB / 0.5502 GB, free: 13.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.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): 13 * 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.0001795/0.3022, allocations: 126.1 kB / 0.5503 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006476/0.3028, allocations: 432.3 kB / 0.5508 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3029, allocations: 5.156 kB / 0.5508 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.3032, allocations: 322.8 kB / 0.5511 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.3036, allocations: 13.25 kB / 0.5511 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007155/0.3043, allocations: 491.8 kB / 0.5516 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.3046, allocations: 0.7283 MB / 0.5523 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.3046, allocations: 15.44 kB / 0.5523 GB, free: 11.37 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3046, allocations: 3.938 kB / 0.5523 GB, free: 11.36 MB / 414.1 MB Notification: Performance of Templates: time 0.005002/0.3096, allocations: 4.316 MB / 0.5565 GB, free: 7.043 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches