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.001084/0.001084, allocations: 107.8 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2099/0.2099, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 72.16 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3116, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003545/0.3152, allocations: 2.483 MB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3169, allocations: 1.09 MB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.365e-05/0.317, allocations: 9.688 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.3182, allocations: 0.4917 MB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.3185, allocations: 109.2 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008587/0.3194, allocations: 483.1 kB / 0.5362 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.3197, allocations: 225.2 kB / 0.5364 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004554/0.3202, allocations: 252 kB / 0.5366 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.3204, allocations: 104.7 kB / 0.5367 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.3205, allocations: 133 kB / 0.5369 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.3206, allocations: 22.16 kB / 0.5369 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.3209, allocations: 146 kB / 0.537 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.919e-05/0.3209, allocations: 50.52 kB / 0.5371 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.3211, allocations: 117.8 kB / 0.5372 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.3215, allocations: 401.4 kB / 0.5376 GB, free: 9.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3216, allocations: 0 / 0.5376 GB, free: 9.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3216, allocations: 1.219 kB / 0.5376 GB, free: 9.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.3216, allocations: 3.984 kB / 0.5376 GB, free: 9.094 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.001279/0.3229, allocations: 0.6188 MB / 0.5382 GB, free: 8.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3229, allocations: 9.844 kB / 0.5382 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/0.3233, allocations: 51.41 kB / 0.5382 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3234, allocations: 197.8 kB / 0.5384 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.3234, allocations: 18.62 kB / 0.5384 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.3235, allocations: 28.95 kB / 0.5385 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.3241, allocations: 292.9 kB / 0.5387 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3241, allocations: 3.938 kB / 0.5388 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.3242, allocations: 10.47 kB / 0.5388 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.3242, allocations: 5.531 kB / 0.5388 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000579/0.3248, allocations: 234.8 kB / 0.539 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.3262, allocations: 0.9868 MB / 0.54 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.3267, allocations: 378.4 kB / 0.5403 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.3271, allocations: 135.9 kB / 0.5404 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.3273, allocations: 170.6 kB / 0.5406 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.3273, allocations: 49.03 kB / 0.5407 GB, free: 6.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/0.3273, allocations: 0 / 0.5407 GB, free: 6.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001216/0.3285, allocations: 0.4974 MB / 0.5411 GB, free: 6.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3286, allocations: 79.58 kB / 0.5412 GB, free: 5.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.3287, allocations: 134.5 kB / 0.5413 GB, free: 5.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3287, allocations: 31.83 kB / 0.5414 GB, free: 5.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.3288, allocations: 140.2 kB / 0.5415 GB, free: 5.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.3289, allocations: 71.88 kB / 0.5416 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.3289, allocations: 34.75 kB / 0.5416 GB, free: 5.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3291, allocations: 325.8 kB / 0.5419 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.3293, allocations: 72.97 kB / 0.542 GB, free: 5.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.3295, allocations: 122.9 kB / 0.5421 GB, free: 5.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.33, allocations: 198.5 kB / 0.5423 GB, free: 5.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.33, allocations: 1.125 kB / 0.5423 GB, free: 5.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000637/0.3306, allocations: 290.1 kB / 0.5426 GB, free: 4.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3307, allocations: 7.938 kB / 0.5426 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3307, allocations: 2.219 kB / 0.5426 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.3309, allocations: 56.34 kB / 0.5426 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.3311, allocations: 42.8 kB / 0.5427 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.3331, allocations: 2.844 MB / 0.5455 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.3333, allocations: 30.92 kB / 0.5455 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.3333, allocations: 5.688 kB / 0.5455 GB, free: 1.824 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.0001513/0.3335, allocations: 145 kB / 0.5456 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.3335, allocations: 14.44 kB / 0.5456 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006619/0.3342, allocations: 265.1 kB / 0.5459 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.3342, allocations: 1.438 kB / 0.5459 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3342, allocations: 5.453 kB / 0.5459 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3343, allocations: 1.062 kB / 0.5459 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.3354, allocations: 0.6372 MB / 0.5465 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.3354, allocations: 9.016 kB / 0.5465 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.3356, allocations: 33.8 kB / 0.5466 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/0.3357, allocations: 51.78 kB / 0.5466 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3357, allocations: 2.25 kB / 0.5466 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.3376, allocations: 2.842 MB / 0.5494 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3377, allocations: 1.188 kB / 0.5494 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009317/0.3386, allocations: 0.5248 MB / 0.5499 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.3387, allocations: 98.64 kB / 0.55 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.3387, allocations: 10.3 kB / 0.55 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3389, allocations: 11.98 kB / 0.55 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.339, allocations: 20.36 kB / 0.55 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.339, allocations: 8.203 kB / 0.55 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.536e-05/0.3391, allocations: 109.8 kB / 0.5502 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3391, allocations: 1.25 kB / 0.5502 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005049/0.3396, allocations: 75.84 kB / 0.5502 GB, free: 13.32 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.0002488/0.3399, allocations: 117.6 kB / 0.5503 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008311/0.3407, allocations: 427.9 kB / 0.5507 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3407, allocations: 1.125 kB / 0.5507 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004262/0.3412, allocations: 337 kB / 0.5511 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.3416, allocations: 12.69 kB / 0.5511 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009214/0.3426, allocations: 495.1 kB / 0.5516 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.3429, allocations: 0.7322 MB / 0.5523 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.3429, allocations: 27.31 kB / 0.5523 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3429, allocations: 4 kB / 0.5523 GB, free: 11.31 MB / 414.1 MB Notification: Performance of Templates: time 0.00622/0.3492, allocations: 4.296 MB / 0.5565 GB, free: 7.012 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