Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001168/0.001168, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001299/0.001299, allocations: 222.3 kB / 22.92 MB, free: 5.559 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.299/1.299, allocations: 230.2 MB / 256.1 MB, free: 8.629 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1984/0.1984, allocations: 46.89 MB / 359.3 MB, free: 4.949 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 80.05 kB / 0.494 GB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2547, allocations: 65.98 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002667/0.2573, allocations: 1.748 MB / 0.5601 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001377/0.2575, allocations: 83.72 kB / 0.5602 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.2575, allocations: 4 kB / 0.5602 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.448e-05/0.2576, allocations: 11.86 kB / 0.5602 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.324e-05/0.2576, allocations: 19.8 kB / 0.5602 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.42e-05/0.2577, allocations: 35.89 kB / 0.5602 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.2579, allocations: 103.6 kB / 0.5603 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.258, allocations: 45.78 kB / 0.5604 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.88e-05/0.258, allocations: 43.84 kB / 0.5604 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.2581, allocations: 55.77 kB / 0.5605 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.2581, allocations: 12 kB / 0.5605 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.2582, allocations: 8 kB / 0.5605 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.2582, allocations: 23.92 kB / 0.5605 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.2582, allocations: 51.73 kB / 0.5606 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.2584, allocations: 111.6 kB / 0.5607 GB, free: 2.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2584, allocations: 7.938 kB / 0.5607 GB, free: 2.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2584, allocations: 0 / 0.5607 GB, free: 2.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.2584, allocations: 0 / 0.5607 GB, free: 2.844 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.0005855/0.259, allocations: 427 kB / 0.5611 GB, free: 2.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.259, allocations: 8.031 kB / 0.5611 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.259, allocations: 42.69 kB / 0.5611 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.2591, allocations: 12.89 kB / 0.5612 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.2592, allocations: 180.2 kB / 0.5613 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2592, allocations: 12.31 kB / 0.5613 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.2592, allocations: 12.38 kB / 0.5613 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.2595, allocations: 117.4 kB / 0.5615 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2595, allocations: 3.938 kB / 0.5615 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.2596, allocations: 4 kB / 0.5615 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2596, allocations: 4 kB / 0.5615 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.2599, allocations: 111.8 kB / 0.5616 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006841/0.2606, allocations: 471.4 kB / 0.562 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.2608, allocations: 82.47 kB / 0.5621 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.261, allocations: 60.92 kB / 0.5622 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.261, allocations: 4 kB / 0.5622 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.2611, allocations: 34.5 kB / 0.5622 GB, free: 1.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.2611, allocations: 0 / 0.5622 GB, free: 1.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000762/0.2618, allocations: 271.4 kB / 0.5625 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.2619, allocations: 51.41 kB / 0.5625 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.265e-05/0.262, allocations: 126.2 kB / 0.5626 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.262, allocations: 25.7 kB / 0.5627 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.262, allocations: 112.2 kB / 0.5628 GB, free: 484 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.2621, allocations: 19.8 kB / 0.5628 GB, free: 464 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.2621, allocations: 21.7 kB / 0.5628 GB, free: 436 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.2622, allocations: 318.8 kB / 0.5631 GB, free: 108 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.2624, allocations: 39.97 kB / 0.5631 GB, free: 68 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.2625, allocations: 58.53 kB / 0.5632 GB, free: 0 / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.2629, allocations: 106.4 kB / 0.5633 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2629, allocations: 256 / 0.5633 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003899/0.2633, allocations: 142.4 kB / 0.5634 GB, free: 15.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.2633, allocations: 4 kB / 0.5634 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2633, allocations: 0 / 0.5634 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.2634, allocations: 32.89 kB / 0.5635 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.2635, allocations: 23.91 kB / 0.5635 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.2645, allocations: 1.402 MB / 0.5649 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.576e-05/0.2646, allocations: 19.95 kB / 0.5649 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.2646, allocations: 4 kB / 0.5649 GB, free: 14.11 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 8.292e-05/0.2647, allocations: 113.8 kB / 0.565 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.2647, allocations: 11.89 kB / 0.565 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.2648, allocations: 12.44 kB / 0.565 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2648, allocations: 0 / 0.565 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.2648, allocations: 0 / 0.565 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2648, allocations: 11.92 kB / 0.565 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000618/0.2654, allocations: 416.1 kB / 0.5654 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2654, allocations: 4.031 kB / 0.5654 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/0.2655, allocations: 15.98 kB / 0.5654 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.069e-05/0.2655, allocations: 24.98 kB / 0.5655 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2655, allocations: 3.984 kB / 0.5655 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009362/0.2665, allocations: 1.403 MB / 0.5668 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2665, allocations: 0 / 0.5668 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/0.2669, allocations: 245.1 kB / 0.5671 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.267, allocations: 85.06 kB / 0.5672 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.267, allocations: 0 / 0.5672 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.2671, allocations: 15.97 kB / 0.5672 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.2671, allocations: 8 kB / 0.5672 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.2671, allocations: 0 / 0.5672 GB, free: 11.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.918e-05/0.2672, allocations: 107.2 kB / 0.5673 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2672, allocations: 0 / 0.5673 GB, free: 11.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.2674, allocations: 31.89 kB / 0.5673 GB, free: 11.36 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.0006948/0.2681, allocations: 0.7609 MB / 0.5681 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004657/0.2686, allocations: 202.5 kB / 0.5682 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2686, allocations: 4.125 kB / 0.5683 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.2688, allocations: 166.6 kB / 0.5684 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.2691, allocations: 11.94 kB / 0.5684 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.271, allocations: 1.605 MB / 0.57 GB, free: 8.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.2713, allocations: 0.7001 MB / 0.5707 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.957e-05/0.2714, allocations: 8.031 kB / 0.5707 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.2714, allocations: 27.42 kB / 0.5707 GB, free: 7.703 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2714, allocations: 0 / 0.5707 GB, free: 7.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.2985, allocations: 2.362 MB / 0.573 GB, free: 5.422 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.664/8.963, allocations: 2.344 kB / 0.573 GB, free: 5.422 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.474434810006642]