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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001774/0.001774, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002122/0.002122, allocations: 213.5 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 230.5 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 46.94 MB / 361.6 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003157/0.003157, allocations: 79.88 kB / 0.4969 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3106, allocations: 66.08 MB / 0.5614 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003255/0.3138, allocations: 1.691 MB / 0.5631 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001728/0.314, allocations: 83.66 kB / 0.5632 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.3141, allocations: 4 kB / 0.5632 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.3141, allocations: 11.86 kB / 0.5632 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.959e-05/0.3142, allocations: 19.8 kB / 0.5632 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.784e-05/0.3143, allocations: 27.95 kB / 0.5632 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.3144, allocations: 111.6 kB / 0.5633 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.3146, allocations: 49.78 kB / 0.5634 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.3146, allocations: 39.86 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.3147, allocations: 55.77 kB / 0.5635 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.3148, allocations: 12 kB / 0.5635 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.164e-05/0.3148, allocations: 12 kB / 0.5635 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.3148, allocations: 19.92 kB / 0.5635 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.3149, allocations: 39.86 kB / 0.5635 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.315, allocations: 119.5 kB / 0.5637 GB, free: 1.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.315, allocations: 7.938 kB / 0.5637 GB, free: 1.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3151, allocations: 0 / 0.5637 GB, free: 1.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3151, allocations: 4 kB / 0.5637 GB, free: 1.719 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.0006232/0.3157, allocations: 341.9 kB / 0.564 GB, free: 1.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3157, allocations: 12.03 kB / 0.564 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.81e-05/0.3157, allocations: 192 / 0.564 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.3158, allocations: 50.66 kB / 0.5641 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.3158, allocations: 12.89 kB / 0.5641 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3159, allocations: 118.4 kB / 0.5642 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3159, allocations: 4.375 kB / 0.5642 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.316, allocations: 12.38 kB / 0.5642 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.3163, allocations: 129.9 kB / 0.5643 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3163, allocations: 0 / 0.5643 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3163, allocations: 0 / 0.5643 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3163, allocations: 7.938 kB / 0.5643 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.3167, allocations: 107.8 kB / 0.5644 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/0.3176, allocations: 426.6 kB / 0.5648 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.3178, allocations: 78.53 kB / 0.5649 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.3181, allocations: 64.86 kB / 0.565 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.3181, allocations: 4 kB / 0.565 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.3181, allocations: 38.5 kB / 0.565 GB, free: 200 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3181, allocations: 0 / 0.565 GB, free: 200 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008524/0.319, allocations: 186.3 kB / 0.5652 GB, free: 4 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.3191, allocations: 59.45 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3192, allocations: 117.8 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3192, allocations: 25.7 kB / 0.5654 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.3193, allocations: 108.2 kB / 0.5655 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.3193, allocations: 23.8 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.3193, allocations: 21.7 kB / 0.5655 GB, free: 15.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3195, allocations: 318.8 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.3197, allocations: 43.94 kB / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3198, allocations: 58.53 kB / 0.5659 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.3202, allocations: 94.7 kB / 0.566 GB, free: 15.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3202, allocations: 4 kB / 0.566 GB, free: 15.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004397/0.3206, allocations: 150.3 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3206, allocations: 6.031 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3206, allocations: 0 / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/0.3208, allocations: 24.84 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.3209, allocations: 19.92 kB / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.3221, allocations: 1.299 MB / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.3222, allocations: 19.94 kB / 0.5675 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.3222, allocations: 4 kB / 0.5675 GB, free: 13.43 MB / 414.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 0.0001122/0.3223, allocations: 121.8 kB / 0.5676 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.3224, allocations: 11.89 kB / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.3224, allocations: 8.375 kB / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3224, allocations: 0 / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3224, allocations: 8.062 kB / 0.5677 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3224, allocations: 3.938 kB / 0.5677 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007143/0.3231, allocations: 379.2 kB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3231, allocations: 4 kB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.667e-05/0.3232, allocations: 15.98 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-05/0.3233, allocations: 20.84 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.3233, allocations: 12.16 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.3244, allocations: 1.291 MB / 0.5693 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3244, allocations: 0 / 0.5693 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.3248, allocations: 249 kB / 0.5696 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.3249, allocations: 8.016 kB / 0.5696 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.3249, allocations: 4 kB / 0.5696 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.325, allocations: 11.98 kB / 0.5696 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.325, allocations: 7.984 kB / 0.5696 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.325, allocations: 7.938 kB / 0.5696 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.589e-05/0.3251, allocations: 95.27 kB / 0.5697 GB, free: 10.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3251, allocations: 0 / 0.5697 GB, free: 10.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000279/0.3254, allocations: 27.89 kB / 0.5697 GB, free: 10.96 MB / 414.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 0.0008117/0.3262, allocations: 0.7648 MB / 0.5705 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005336/0.3267, allocations: 206.4 kB / 0.5707 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3267, allocations: 0 / 0.5707 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.327, allocations: 154.8 kB / 0.5708 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.3273, allocations: 14.52 kB / 0.5708 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.3296, allocations: 1.611 MB / 0.5724 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.978e-05/0.3297, allocations: 89.31 kB / 0.5725 GB, free: 7.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.544e-05/0.3297, allocations: 7.75 kB / 0.5725 GB, free: 7.941 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.3298, allocations: 27.36 kB / 0.5725 GB, free: 7.914 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3298, allocations: 0 / 0.5725 GB, free: 7.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.3545, allocations: 2.58 MB / 0.575 GB, free: 5.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.31, allocations: 11.61 kB / 0.575 GB, free: 5.445 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.388010474969633] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.V_m', 'reluctance.Phi', 'permeance.V_m', 'permeance.Phi'] 12.478847629041411 12.493818565 12.175675445 Calling exit ...