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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 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 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000994/0.0009941, allocations: 102.8 kB / 292.1 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4016/0.4016, allocations: 44.21 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003722, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4595, allocations: 61.9 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.5873, allocations: 86.93 MB / 0.5945 GB, free: 8.164 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5876, allocations: 67.94 kB / 0.5946 GB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004673/0.5923, allocations: 1.754 MB / 0.5963 GB, free: 6.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5923, allocations: 0 / 0.5963 GB, free: 6.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.5924, allocations: 0 / 0.5963 GB, free: 6.34 MB / 410.7 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.0005448/0.5929, allocations: 419 kB / 0.5967 GB, free: 5.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.593, allocations: 11.97 kB / 0.5967 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.783e-05/0.593, allocations: 42.56 kB / 0.5968 GB, free: 5.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.5931, allocations: 15.8 kB / 0.5968 GB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.5932, allocations: 167 kB / 0.5969 GB, free: 5.602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.5932, allocations: 11.95 kB / 0.5969 GB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.5933, allocations: 8 kB / 0.597 GB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.5936, allocations: 137.6 kB / 0.5971 GB, free: 5.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5936, allocations: 0 / 0.5971 GB, free: 5.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.5937, allocations: 4 kB / 0.5971 GB, free: 5.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.5937, allocations: 0 / 0.5971 GB, free: 5.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.594, allocations: 131.8 kB / 0.5972 GB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009233/0.595, allocations: 491.3 kB / 0.5977 GB, free: 4.773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.5953, allocations: 98.47 kB / 0.5978 GB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.5953, allocations: 3.938 kB / 0.5978 GB, free: 4.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.5953, allocations: 38.52 kB / 0.5978 GB, free: 4.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.5953, allocations: 4 kB / 0.5978 GB, free: 4.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009025/0.5962, allocations: 299.5 kB / 0.5981 GB, free: 4.293 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.5963, allocations: 55.41 kB / 0.5982 GB, free: 4.227 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.5964, allocations: 113 kB / 0.5983 GB, free: 4.109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.5964, allocations: 25.7 kB / 0.5983 GB, free: 4.078 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.136e-05/0.5965, allocations: 108.1 kB / 0.5984 GB, free: 3.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.5966, allocations: 15.75 kB / 0.5984 GB, free: 3.949 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.5966, allocations: 4 kB / 0.5984 GB, free: 3.945 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5967, allocations: 318.8 kB / 0.5987 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.5969, allocations: 51.95 kB / 0.5988 GB, free: 3.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.5971, allocations: 61.69 kB / 0.5988 GB, free: 3.508 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.5973, allocations: 51.95 kB / 0.5989 GB, free: 3.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5973, allocations: 0 / 0.5989 GB, free: 3.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004317/0.5977, allocations: 170.3 kB / 0.599 GB, free: 3.281 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.5978, allocations: 8 kB / 0.599 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5978, allocations: 0 / 0.599 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.598, allocations: 28.88 kB / 0.5991 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.5981, allocations: 23.92 kB / 0.5991 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.5992, allocations: 1.312 MB / 0.6004 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.5993, allocations: 19.95 kB / 0.6004 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.5993, allocations: 8 kB / 0.6004 GB, free: 1.742 MB / 410.7 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 0.0001068/0.5995, allocations: 121.8 kB / 0.6005 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.5995, allocations: 11.97 kB / 0.6005 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.5995, allocations: 8.375 kB / 0.6005 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.5995, allocations: 0 / 0.6005 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.5995, allocations: 4.312 kB / 0.6005 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5995, allocations: 0 / 0.6005 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.5998, allocations: 205.6 kB / 0.6007 GB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5998, allocations: 0 / 0.6007 GB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.5999, allocations: 23.97 kB / 0.6008 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.947e-05/0.6, allocations: 28.84 kB / 0.6008 GB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.6, allocations: 0 / 0.6008 GB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009126/0.6009, allocations: 1.304 MB / 0.6021 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6009, allocations: 4.219 kB / 0.6021 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.6014, allocations: 268.4 kB / 0.6023 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.6014, allocations: 81.05 kB / 0.6024 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.6015, allocations: 3.984 kB / 0.6024 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.6016, allocations: 15.98 kB / 0.6024 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.6016, allocations: 15.98 kB / 0.6024 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.6017, allocations: 3.953 kB / 0.6024 GB, free: 15.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.957e-05/0.6017, allocations: 99.2 kB / 0.6025 GB, free: 15.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6017, allocations: 0 / 0.6025 GB, free: 15.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.602, allocations: 27.91 kB / 0.6026 GB, free: 15.3 MB / 426.7 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.0007304/0.6027, allocations: 0.7873 MB / 0.6033 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005433/0.6033, allocations: 226.8 kB / 0.6035 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6033, allocations: 4 kB / 0.6036 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.6036, allocations: 170.8 kB / 0.6037 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.6038, allocations: 17.31 kB / 0.6037 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.6053, allocations: 0.8503 MB / 0.6046 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.6056, allocations: 0.7011 MB / 0.6052 GB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.928e-05/0.6057, allocations: 192 / 0.6052 GB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.6057, allocations: 27.42 kB / 0.6053 GB, free: 12.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6057, allocations: 0 / 0.6053 GB, free: 12.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.6206, allocations: 1.966 MB / 0.6072 GB, free: 10.59 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/0.6209, allocations: 212.5 kB / 0.6074 GB, free: 10.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.176, allocations: 0 / 0.6074 GB, free: 10.34 MB / 426.7 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