Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 118.3 kB / 19.17 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 205.7 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 207.6 MB / 232.5 MB, free: 3.953 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 56.55 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/0.09698, allocations: 49.13 MB / 392.1 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005241/0.1022, allocations: 3.369 MB / 395.5 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.1048, allocations: 1.407 MB / 396.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.105, allocations: 11.94 kB / 396.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003157/0.1082, allocations: 2.655 MB / 399.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004937/0.1087, allocations: 182.7 kB / 399.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.1094, allocations: 287.4 kB / 400 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.1114, allocations: 1.798 MB / 401.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.1116, allocations: 95.28 kB / 401.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/0.112, allocations: 317 kB / 402.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.1124, allocations: 354.8 kB / 402.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.581e-05/0.1125, allocations: 44 kB / 402.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.1127, allocations: 79.92 kB / 402.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006809/0.1134, allocations: 0.8453 MB / 403.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007792/0.1142, allocations: 0.9345 MB / 404.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002536/0.1167, allocations: 2.614 MB / 407.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.1167, allocations: 8 kB / 407.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1167, allocations: 0 / 407.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.993e-05/0.1167, allocations: 0 / 407.1 MB, free: 9.68 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004255/0.121, allocations: 2.895 MB / 410 MB, free: 6.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1211, allocations: 15.89 kB / 410 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.095e-05/0.1211, allocations: 9.188 kB / 410 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.159e-05/0.1212, allocations: 74.72 kB / 410.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003761/0.1215, allocations: 295 kB / 410.4 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.124, allocations: 1.854 MB / 412.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-05/0.1241, allocations: 62.83 kB / 412.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.1243, allocations: 51.98 kB / 412.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007694/0.1251, allocations: 394.9 kB / 412.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1251, allocations: 0 / 412.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.1252, allocations: 16 kB / 412.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.1252, allocations: 8 kB / 412.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.1259, allocations: 331.7 kB / 413.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004276/0.1302, allocations: 2.899 MB / 416 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.1309, allocations: 301 kB / 416.3 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.1313, allocations: 153.7 kB / 416.4 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.1313, allocations: 19.91 kB / 416.4 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.604e-05/0.1314, allocations: 34.56 kB / 416.5 MB, free: 12 kB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.402e-06/0.1314, allocations: 4 kB / 416.5 MB, free: 8 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.005115/0.1365, allocations: 2.429 MB / 418.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.1366, allocations: 89.52 kB / 419 MB, free: 13.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007438/0.144, allocations: 5.439 MB / 424.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.1441, allocations: 29.7 kB / 424.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001359/0.1455, allocations: 1.207 MB / 425.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.1457, allocations: 178.5 kB / 425.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.1458, allocations: 86.2 kB / 425.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.146, allocations: 326 kB / 426.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.1464, allocations: 141 kB / 426.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.1468, allocations: 221.7 kB / 426.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007312/0.1475, allocations: 384.3 kB / 427 MB, free: 5.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1475, allocations: 4 kB / 427 MB, free: 5.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001491/0.149, allocations: 0.6934 MB / 427.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.1491, allocations: 11.84 kB / 427.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.1491, allocations: 4 kB / 427.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.1491, allocations: 4.25 kB / 427.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.1496, allocations: 119.9 kB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.1497, allocations: 15.86 kB / 427.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.1501, allocations: 27.94 kB / 427.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.1502, allocations: 16 kB / 427.9 MB, free: 4.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001177/0.1513, allocations: 0.9154 MB / 428.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/0.1517, allocations: 278.1 kB / 429 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.1532, allocations: 0.7824 MB / 429.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.1532, allocations: 8 kB / 429.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1532, allocations: 3.938 kB / 429.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.1532, allocations: 3.984 kB / 429.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.155, allocations: 1.473 MB / 431.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.155, allocations: 4 kB / 431.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.1554, allocations: 95.88 kB / 431.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000324/0.1558, allocations: 84.8 kB / 431.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.1558, allocations: 8 kB / 431.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006244/0.1564, allocations: 0.6266 MB / 432.1 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1564, allocations: 8 kB / 432.1 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.1581, allocations: 1.071 MB / 433.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007291/0.1589, allocations: 0.5069 MB / 433.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.159, allocations: 8 kB / 433.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/0.1595, allocations: 19.98 kB / 433.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.1596, allocations: 28.39 kB / 433.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.1596, allocations: 12 kB / 433.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.005002/0.1646, allocations: 3.974 MB / 437.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1646, allocations: 0 / 437.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007061/0.1653, allocations: 204 kB / 438 MB, free: 10.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003532/0.1689, allocations: 1.926 MB / 439.9 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008596/0.1697, allocations: 364.8 kB / 440.2 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1697, allocations: 0 / 440.2 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004809/0.1702, allocations: 202.9 kB / 440.4 MB, free: 7.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.1712, allocations: 195 kB / 440.6 MB, free: 7.496 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03833/0.2095, allocations: 19.35 MB / 460 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/0.2113, allocations: 1.817 MB / 461.8 MB, free: 2.105 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005935/0.2119, allocations: 271.6 kB / 462.1 MB, free: 1.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/0.2131, allocations: 0.9327 MB / 463 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2131, allocations: 0 / 463 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2483/0.4614, allocations: 38.8 MB / 0.49 GB, free: 38.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.02/17.48, allocations: 16.41 kB / 0.4901 GB, free: 38.95 MB / 382.1 MB " [Timeout remaining time 642] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.003933901025448] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.B', 'core.Hstat', 'core.MagRel', 'winding1.i', 'winding2.i'] 17.73058900202159 17.740275938 17.621397336 Calling exit ...