Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.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.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",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.001073/0.001073, allocations: 177 kB / 17.06 MB, free: 5.098 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.364/1.364, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009534/0.0009532, allocations: 93.66 kB / 292.1 MB, free: 10.91 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.4745/0.4745, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4072, allocations: 61.91 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.521, allocations: 86.38 MB / 0.594 GB, free: 8.734 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.5212, allocations: 75.86 kB / 0.5941 GB, free: 8.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003444/0.5247, allocations: 1.531 MB / 0.5956 GB, free: 7.129 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5247, allocations: 0 / 0.5956 GB, free: 7.129 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.5247, allocations: 4 kB / 0.5956 GB, free: 7.125 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004092/0.5252, allocations: 391.2 kB / 0.5959 GB, free: 6.691 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.5252, allocations: 8.031 kB / 0.5959 GB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.5253, allocations: 42.56 kB / 0.596 GB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.5253, allocations: 7.906 kB / 0.596 GB, free: 6.625 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.5254, allocations: 178.9 kB / 0.5962 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.5255, allocations: 12.19 kB / 0.5962 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.5255, allocations: 16 kB / 0.5962 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.5257, allocations: 133.7 kB / 0.5963 GB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.5257, allocations: 3.828 kB / 0.5963 GB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.5258, allocations: 4 kB / 0.5963 GB, free: 6.238 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5258, allocations: 0 / 0.5963 GB, free: 6.238 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.5259, allocations: 64.8 kB / 0.5964 GB, free: 6.176 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008423/0.5267, allocations: 0.7296 MB / 0.5971 GB, free: 5.379 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.322e-05/0.5268, allocations: 169.1 kB / 0.5973 GB, free: 5.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.5269, allocations: 75.28 kB / 0.5973 GB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.5269, allocations: 105.8 kB / 0.5974 GB, free: 5.016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.5269, allocations: 4 kB / 0.5974 GB, free: 5.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.009e-05/0.527, allocations: 33.64 kB / 0.5975 GB, free: 4.973 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.5271, allocations: 134.6 kB / 0.5976 GB, free: 4.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.5272, allocations: 142.7 kB / 0.5977 GB, free: 4.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.5272, allocations: 25.7 kB / 0.5978 GB, free: 4.648 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.5273, allocations: 119.7 kB / 0.5979 GB, free: 4.527 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-06/0.5273, allocations: 4 kB / 0.5979 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.5273, allocations: 0 / 0.5979 GB, free: 4.523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5275, allocations: 322.8 kB / 0.5982 GB, free: 4.199 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.5275, allocations: 8 kB / 0.5982 GB, free: 4.191 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.5275, allocations: 49.14 kB / 0.5982 GB, free: 4.125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.014e-05/0.5276, allocations: 8 kB / 0.5982 GB, free: 4.117 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5276, allocations: 0 / 0.5982 GB, free: 4.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001441/0.5277, allocations: 81.62 kB / 0.5983 GB, free: 4.031 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.5278, allocations: 7.938 kB / 0.5983 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5278, allocations: 0 / 0.5983 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.5278, allocations: 4 kB / 0.5983 GB, free: 4.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.5279, allocations: 8 kB / 0.5983 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5279, allocations: 4 kB / 0.5983 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.5279, allocations: 15.83 kB / 0.5984 GB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.5279, allocations: 0 / 0.5984 GB, free: 3.992 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.5281, allocations: 201.6 kB / 0.5986 GB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.5281, allocations: 109 kB / 0.5987 GB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/0.5282, allocations: 108.9 kB / 0.5988 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-05/0.5283, allocations: 184.2 kB / 0.5989 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.169e-05/0.5283, allocations: 180.3 kB / 0.5991 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-05/0.5284, allocations: 180.3 kB / 0.5993 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.5287, allocations: 449.5 kB / 0.5997 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-05/0.5287, allocations: 101 kB / 0.5998 GB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.5288, allocations: 108.9 kB / 0.5999 GB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.047e-05/0.5288, allocations: 180.3 kB / 0.6001 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/0.5289, allocations: 180.2 kB / 0.6003 GB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.716e-05/0.529, allocations: 184.2 kB / 0.6004 GB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.211e-05/0.529, allocations: 180.3 kB / 0.6006 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.5292, allocations: 315.6 kB / 0.6009 GB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.5293, allocations: 190 kB / 0.6011 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.5294, allocations: 184.2 kB / 0.6013 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.542e-05/0.5295, allocations: 106.4 kB / 0.6014 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.5295, allocations: 184.2 kB / 0.6015 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.5296, allocations: 105 kB / 0.6016 GB, free: 428 kB / 410.7 MB Notification: Performance of sorting global known variables: time 7.326e-05/0.5297, allocations: 112.8 kB / 0.6017 GB, free: 316 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5297, allocations: 0 / 0.6017 GB, free: 316 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.5299, allocations: 15.94 kB / 0.6018 GB, free: 300 kB / 410.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 (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004191/0.5304, allocations: 0.8202 MB / 0.6026 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.593e-05/0.5304, allocations: 19.94 kB / 0.6026 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5304, allocations: 0 / 0.6026 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.5305, allocations: 0 / 0.6026 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.5308, allocations: 0.5228 MB / 0.6031 GB, free: 14.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.5319, allocations: 1.375 MB / 0.6044 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.5322, allocations: 0.6965 MB / 0.6051 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.624e-05/0.5322, allocations: 7.938 kB / 0.6051 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.5323, allocations: 31.42 kB / 0.6051 GB, free: 12.7 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5323, allocations: 0 / 0.6051 GB, free: 12.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.5448, allocations: 1.358 MB / 0.6065 GB, free: 11.46 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/0.5451, allocations: 177.5 kB / 0.6066 GB, free: 11.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/2.046, allocations: 0 / 0.6066 GB, free: 11.21 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat does not exist to compare? outputFormat=mat