Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 107.9 kB / 18.48 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 198.5 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 249.8 MB, free: 3.582 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 47.92 kB / 366.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1064, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005005/0.1114, allocations: 3.505 MB / 422 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1131, allocations: 0.9269 MB / 422.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.1133, allocations: 11.94 kB / 422.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.1135, allocations: 103 kB / 423 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.1139, allocations: 154.8 kB / 423.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.1143, allocations: 171.7 kB / 423.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006456/0.115, allocations: 0.6304 MB / 424 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.1152, allocations: 145.5 kB / 424.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.1156, allocations: 255 kB / 424.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.1159, allocations: 266.7 kB / 424.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.104e-05/0.116, allocations: 52 kB / 424.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-05/0.1161, allocations: 52 kB / 424.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1162, allocations: 123.5 kB / 424.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.1164, allocations: 286.5 kB / 425.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006584/0.1171, allocations: 0.6223 MB / 425.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1171, allocations: 7.984 kB / 425.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1171, allocations: 0 / 425.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1171, allocations: 0 / 425.8 MB, free: 5.27 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00151/0.1186, allocations: 0.8648 MB / 426.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1187, allocations: 8.031 kB / 426.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.798e-05/0.1187, allocations: 21.5 kB / 426.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.177e-05/0.1188, allocations: 98.58 kB / 426.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.941e-05/0.1189, allocations: 64.55 kB / 426.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.1194, allocations: 351.3 kB / 427.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/0.1194, allocations: 37.69 kB / 427.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.1195, allocations: 59.94 kB / 427.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008365/0.1204, allocations: 434.5 kB / 427.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1204, allocations: 0 / 427.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.1204, allocations: 20 kB / 427.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1204, allocations: 12 kB / 427.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008908/0.1213, allocations: 393 kB / 428.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.1241, allocations: 1.574 MB / 429.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007818/0.1249, allocations: 384.6 kB / 430.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/0.1253, allocations: 169.4 kB / 430.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.1253, allocations: 12.39 kB / 430.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.1254, allocations: 34.89 kB / 430.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.805e-06/0.1254, allocations: 0 / 430.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003484/0.1289, allocations: 1.192 MB / 431.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.1289, allocations: 59.97 kB / 431.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.1294, allocations: 397.6 kB / 431.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.1294, allocations: 33.7 kB / 431.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.1297, allocations: 304.7 kB / 432.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.1299, allocations: 198.3 kB / 432.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.13, allocations: 110.3 kB / 432.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.1302, allocations: 362.8 kB / 432.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.1307, allocations: 177.2 kB / 433.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/0.1312, allocations: 299 kB / 433.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009793/0.1322, allocations: 498.4 kB / 433.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1322, allocations: 0 / 433.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001554/0.1338, allocations: 0.7424 MB / 434.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1338, allocations: 8 kB / 434.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.1338, allocations: 4 kB / 434.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005702/0.1344, allocations: 177.5 kB / 434.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.1349, allocations: 111.9 kB / 434.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004618/0.1395, allocations: 4.281 MB / 439.2 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.1399, allocations: 27.97 kB / 439.2 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.1399, allocations: 28 kB / 439.2 MB, free: 7.133 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 56 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002444/0.1402, allocations: 181.7 kB / 439.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.31e-05/0.1403, allocations: 51.61 kB / 439.4 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.1404, allocations: 65.02 kB / 439.5 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.1404, allocations: 4 kB / 439.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.1404, allocations: 4 kB / 439.5 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1404, allocations: 0 / 439.5 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.1428, allocations: 1.292 MB / 440.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1428, allocations: 4 kB / 440.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.1431, allocations: 67.83 kB / 440.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004436/0.1436, allocations: 169.6 kB / 441 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.1436, allocations: 12 kB / 441 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004132/0.1477, allocations: 4.099 MB / 445.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.1477, allocations: 7.969 kB / 445.2 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.1491, allocations: 0.6938 MB / 445.9 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2013/0.3503, allocations: 118 kB / 446 MB, free: 29.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.3505, allocations: 11.59 kB / 446 MB, free: 29.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.3508, allocations: 26.81 kB / 446 MB, free: 29.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.351, allocations: 47.44 kB / 446 MB, free: 29.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.351, allocations: 12.19 kB / 446.1 MB, free: 29.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000299/0.3513, allocations: 276.7 kB / 446.3 MB, free: 29.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3513, allocations: 0.5625 kB / 446.3 MB, free: 29.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008044/0.3521, allocations: 151.9 kB / 446.5 MB, free: 29.42 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/0.3535, allocations: 1.257 MB / 447.7 MB, free: 28.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.355, allocations: 0.7634 MB / 448.5 MB, free: 28.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.355, allocations: 0 / 448.5 MB, free: 28.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.3557, allocations: 0.5081 MB / 449 MB, free: 28.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.3562, allocations: 47.09 kB / 449.1 MB, free: 28.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006332/0.3625, allocations: 4.613 MB / 453.7 MB, free: 26.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.3629, allocations: 0.8575 MB / 454.5 MB, free: 25.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000178/0.3631, allocations: 50.11 kB / 454.6 MB, free: 25.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.3633, allocations: 172.2 kB / 454.7 MB, free: 25.72 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3633, allocations: 0 / 454.7 MB, free: 25.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03857/0.4019, allocations: 9.845 MB / 464.6 MB, free: 24.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.04, allocations: 4.406 kB / 464.6 MB, free: 24.12 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.404559972987045] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 11.182295390986837 11.200255496 11.07991332 Calling exit ...