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.00143/0.00143, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001577/0.001577, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.646/1.646, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.2374/0.2374, allocations: 46.88 MB / 357.4 MB, free: 10.48 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.002328/0.002328, allocations: 83.84 kB / 0.4912 GB, free: 8.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1269, allocations: 65.98 MB / 0.5556 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003127/0.13, allocations: 1.734 MB / 0.5573 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001957/0.1302, allocations: 87.66 kB / 0.5574 GB, free: 4.422 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.1303, allocations: 7.938 kB / 0.5574 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.322e-05/0.1303, allocations: 11.86 kB / 0.5574 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.003e-05/0.1304, allocations: 19.8 kB / 0.5575 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.1305, allocations: 27.95 kB / 0.5575 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1307, allocations: 107.6 kB / 0.5576 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.1309, allocations: 47.95 kB / 0.5576 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.1309, allocations: 43.91 kB / 0.5577 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.131, allocations: 51.77 kB / 0.5577 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.131, allocations: 8 kB / 0.5577 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/0.131, allocations: 12 kB / 0.5577 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.1311, allocations: 23.92 kB / 0.5578 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.888e-05/0.1311, allocations: 47.73 kB / 0.5578 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1313, allocations: 115.6 kB / 0.5579 GB, free: 3.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1313, allocations: 0 / 0.5579 GB, free: 3.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1313, allocations: 0 / 0.5579 GB, free: 3.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1313, allocations: 7.938 kB / 0.5579 GB, free: 3.898 MB / 414.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.000711/0.132, allocations: 427 kB / 0.5583 GB, free: 3.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1321, allocations: 8.031 kB / 0.5583 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.679e-05/0.1321, allocations: 42.75 kB / 0.5584 GB, free: 3.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.1322, allocations: 8.891 kB / 0.5584 GB, free: 3.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.1323, allocations: 180.2 kB / 0.5586 GB, free: 3.148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1323, allocations: 4.375 kB / 0.5586 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1324, allocations: 16.38 kB / 0.5586 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.1327, allocations: 122.1 kB / 0.5587 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1327, allocations: 3.938 kB / 0.5587 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1327, allocations: 0 / 0.5587 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1327, allocations: 4 kB / 0.5587 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.1331, allocations: 115.7 kB / 0.5588 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008025/0.1339, allocations: 475.4 kB / 0.5593 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.1341, allocations: 78.53 kB / 0.5593 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.1344, allocations: 64.92 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.1344, allocations: 4 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.1344, allocations: 34.5 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.1344, allocations: 0 / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008362/0.1353, allocations: 267.4 kB / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.1353, allocations: 51.41 kB / 0.5597 GB, free: 1.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1354, allocations: 125.8 kB / 0.5599 GB, free: 1.676 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1354, allocations: 29.7 kB / 0.5599 GB, free: 1.641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.1355, allocations: 108.2 kB / 0.56 GB, free: 1.527 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.1355, allocations: 23.8 kB / 0.56 GB, free: 1.504 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.1356, allocations: 17.72 kB / 0.56 GB, free: 1.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1357, allocations: 322.8 kB / 0.5603 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.1359, allocations: 39.89 kB / 0.5604 GB, free: 1.117 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.1361, allocations: 58.55 kB / 0.5604 GB, free: 1.051 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.1364, allocations: 98.44 kB / 0.5605 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1364, allocations: 4 kB / 0.5605 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004213/0.1368, allocations: 146.3 kB / 0.5607 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1368, allocations: 8 kB / 0.5607 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1368, allocations: 7.922 kB / 0.5607 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/0.137, allocations: 20.86 kB / 0.5607 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.1371, allocations: 24.03 kB / 0.5607 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.1385, allocations: 1.399 MB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.1386, allocations: 12.33 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1386, allocations: 4 kB / 0.5621 GB, free: 15.17 MB / 430.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.0001252/0.1388, allocations: 113.8 kB / 0.5622 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.1388, allocations: 19.89 kB / 0.5622 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.1388, allocations: 8.516 kB / 0.5622 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1388, allocations: 7.969 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1388, allocations: 64 / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1388, allocations: 4 kB / 0.5623 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007301/0.1396, allocations: 432 kB / 0.5627 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1396, allocations: 0 / 0.5627 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.905e-05/0.1397, allocations: 15.98 kB / 0.5627 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.987e-05/0.1397, allocations: 24.88 kB / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.1397, allocations: 4 kB / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.1409, allocations: 1.402 MB / 0.5641 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1409, allocations: 0 / 0.5641 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004445/0.1413, allocations: 241.1 kB / 0.5643 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.1414, allocations: 85.06 kB / 0.5644 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.1414, allocations: 3.984 kB / 0.5644 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1415, allocations: 15.98 kB / 0.5644 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.1416, allocations: 7.984 kB / 0.5644 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.1416, allocations: 128 / 0.5644 GB, free: 12.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.539e-05/0.1416, allocations: 99.22 kB / 0.5645 GB, free: 12.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1416, allocations: 0 / 0.5645 GB, free: 12.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.1419, allocations: 31.89 kB / 0.5645 GB, free: 12.42 MB / 430.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.0008686/0.1428, allocations: 0.7676 MB / 0.5653 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00058/0.1434, allocations: 210.5 kB / 0.5655 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1434, allocations: 0 / 0.5655 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.1437, allocations: 158.8 kB / 0.5656 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.144, allocations: 8.078 kB / 0.5657 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.1463, allocations: 1.612 MB / 0.5672 GB, free: 9.512 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.1466, allocations: 0.6924 MB / 0.5679 GB, free: 8.793 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.588e-05/0.1467, allocations: 3.75 kB / 0.5679 GB, free: 8.789 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.1467, allocations: 27.42 kB / 0.5679 GB, free: 8.762 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1467, allocations: 0 / 0.5679 GB, free: 8.762 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.1751, allocations: 2.408 MB / 0.5703 GB, free: 6.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.18, allocations: 10.11 kB / 0.5703 GB, free: 6.473 MB / 430.1 MB " [Timeout remaining time 650] (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 --stepSize=0.00019984 --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: 13.255523276049644] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.V_m', 'reluctance.Phi', 'permeance.V_m', 'permeance.Phi'] 10.255747069139034 10.277493373 10.142242532 Calling exit ...