Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 98.45 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 178.7 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2564/0.2564, allocations: 44.22 MB / 337.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003232, allocations: 4 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1128, allocations: 61.93 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.001805/0.1147, allocations: 1.368 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001643/0.1149, allocations: 83.75 kB / 473 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.1149, allocations: 4 kB / 473 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.115, allocations: 11.92 kB / 473 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.115, allocations: 19.95 kB / 473 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.826e-05/0.1151, allocations: 19.97 kB / 473 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.813e-05/0.1152, allocations: 71.84 kB / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1154, allocations: 35.83 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.129e-05/0.1154, allocations: 39.84 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.1155, allocations: 43.84 kB / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1155, allocations: 8 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.409e-05/0.1155, allocations: 4 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.1156, allocations: 15.92 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.1156, allocations: 45.64 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.1157, allocations: 80.03 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.1157, allocations: 0 / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1157, allocations: 0 / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1157, allocations: 0 / 473.4 MB, free: 11.79 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005768/0.1163, allocations: 422.9 kB / 473.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1164, allocations: 12.02 kB / 473.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/0.1164, allocations: 38.56 kB / 473.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.1165, allocations: 11.91 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.1166, allocations: 174.9 kB / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.1166, allocations: 11.95 kB / 474 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.1166, allocations: 12 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.117, allocations: 129.6 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.117, allocations: 0 / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.117, allocations: 4 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.117, allocations: 0 / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.1174, allocations: 139.8 kB / 474.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000755/0.1182, allocations: 487.2 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.1184, allocations: 94.47 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.1184, allocations: 0 / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.1185, allocations: 38.52 kB / 474.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1185, allocations: 0 / 474.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008586/0.1193, allocations: 299.5 kB / 475.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.1194, allocations: 59.41 kB / 475.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1195, allocations: 121.8 kB / 475.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1195, allocations: 25.7 kB / 475.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.1196, allocations: 112.1 kB / 475.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.1196, allocations: 11.72 kB / 475.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.1196, allocations: 0 / 475.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1198, allocations: 322.8 kB / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.1199, allocations: 51.97 kB / 475.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.1201, allocations: 61.67 kB / 476 MB, free: 8.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1203, allocations: 60.14 kB / 476 MB, free: 8.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1203, allocations: 3.953 kB / 476 MB, free: 8.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004106/0.1207, allocations: 166.4 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1207, allocations: 4 kB / 476.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1208, allocations: 4.031 kB / 476.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.1209, allocations: 24.84 kB / 476.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1211, allocations: 23.92 kB / 476.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009647/0.122, allocations: 1.312 MB / 477.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1221, allocations: 23.92 kB / 477.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.1222, allocations: 3.953 kB / 477.6 MB, free: 7.172 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/0.1223, allocations: 121.9 kB / 477.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1223, allocations: 4 kB / 477.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.1223, allocations: 12.36 kB / 477.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1223, allocations: 4 kB / 477.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1223, allocations: 0 / 477.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1223, allocations: 0 / 477.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.1225, allocations: 205.5 kB / 477.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1226, allocations: 0 / 477.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.1227, allocations: 27.97 kB / 478 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.754e-05/0.1227, allocations: 24.8 kB / 478 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1228, allocations: 0 / 478 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008541/0.1236, allocations: 1.312 MB / 479.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1236, allocations: 0 / 479.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.1241, allocations: 264.2 kB / 479.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.1242, allocations: 85 kB / 479.6 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1242, allocations: 4 kB / 479.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.1243, allocations: 19.98 kB / 479.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/0.1244, allocations: 11.94 kB / 479.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1244, allocations: 7.938 kB / 479.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.271e-05/0.1245, allocations: 95.27 kB / 479.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1245, allocations: 3.938 kB / 479.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1248, allocations: 20 kB / 479.8 MB, free: 4.734 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007178/0.1255, allocations: 0.7796 MB / 480.6 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005123/0.126, allocations: 234.6 kB / 480.8 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.126, allocations: 0 / 480.8 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.1263, allocations: 174.6 kB / 481 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1265, allocations: 7.953 kB / 481 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1279, allocations: 0.8617 MB / 481.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.1282, allocations: 0.7004 MB / 482.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.533e-05/0.1283, allocations: 192 / 482.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.1283, allocations: 27.42 kB / 482.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1283, allocations: 0 / 482.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.1418, allocations: 1.976 MB / 484.5 MB, free: 4 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.1421, allocations: 204.4 kB / 484.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/1.878, allocations: 0 / 484.7 MB, free: 15.77 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat