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.001272/0.001273, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008687/0.0008687, allocations: 92.22 kB / 281.6 MB, free: 5.324 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.1926/0.1926, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.667e-05, allocations: 224 / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1394, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.5921, allocations: 85.65 MB / 0.5784 GB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.5925, allocations: 67.97 kB / 0.5785 GB, free: 10.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003575/0.5961, allocations: 1.525 MB / 0.58 GB, free: 9.148 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.5961, allocations: 3.984 kB / 0.58 GB, free: 9.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.5961, allocations: 4 kB / 0.58 GB, free: 9.141 MB / 394.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.0004467/0.5966, allocations: 382.5 kB / 0.5803 GB, free: 8.719 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.5967, allocations: 11.98 kB / 0.5803 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.5967, allocations: 7.906 kB / 0.5803 GB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.5969, allocations: 174.9 kB / 0.5805 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.5969, allocations: 4 kB / 0.5805 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.5969, allocations: 11.95 kB / 0.5805 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001454/0.5971, allocations: 48.47 kB / 0.5806 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.5972, allocations: 108.8 kB / 0.5807 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.5973, allocations: 0 / 0.5807 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.5973, allocations: 4 kB / 0.5807 GB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.5973, allocations: 4 kB / 0.5807 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007838/0.5981, allocations: 0.6772 MB / 0.5814 GB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.783e-05/0.5982, allocations: 165.1 kB / 0.5815 GB, free: 7.395 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.5982, allocations: 92.02 kB / 0.5816 GB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.5983, allocations: 79.28 kB / 0.5817 GB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.5983, allocations: 109.8 kB / 0.5818 GB, free: 7.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.5983, allocations: 0 / 0.5818 GB, free: 7.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.739e-05/0.5984, allocations: 29.69 kB / 0.5818 GB, free: 7.074 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.5985, allocations: 55.41 kB / 0.5819 GB, free: 7.008 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.5986, allocations: 109.8 kB / 0.582 GB, free: 6.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.5986, allocations: 25.7 kB / 0.582 GB, free: 6.859 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/0.5987, allocations: 134.7 kB / 0.5821 GB, free: 6.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.5987, allocations: 0 / 0.5821 GB, free: 6.727 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.5987, allocations: 0 / 0.5821 GB, free: 6.727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5988, allocations: 314.8 kB / 0.5824 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.5988, allocations: 4 kB / 0.5824 GB, free: 6.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/0.5989, allocations: 45.45 kB / 0.5825 GB, free: 6.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.097e-05/0.5989, allocations: 19.95 kB / 0.5825 GB, free: 6.324 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5989, allocations: 0 / 0.5825 GB, free: 6.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000145/0.5991, allocations: 61.56 kB / 0.5825 GB, free: 6.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.5991, allocations: 13.03 kB / 0.5826 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5991, allocations: 4.188 kB / 0.5826 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.5992, allocations: 4 kB / 0.5826 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.5992, allocations: 8 kB / 0.5826 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.5993, allocations: 3.984 kB / 0.5826 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.5993, allocations: 11.84 kB / 0.5826 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.5993, allocations: 4.703 kB / 0.5826 GB, free: 6.211 MB / 394.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 () * 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.0001138/0.5994, allocations: 188.2 kB / 0.5828 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.81e-05/0.5995, allocations: 130.7 kB / 0.5829 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.5996, allocations: 109 kB / 0.583 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.5997, allocations: 112.9 kB / 0.5831 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.89e-05/0.5997, allocations: 180.3 kB / 0.5833 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.043e-05/0.5998, allocations: 176.3 kB / 0.5834 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.401e-05/0.5999, allocations: 184.2 kB / 0.5836 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.6001, allocations: 414.2 kB / 0.584 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-05/0.6001, allocations: 109 kB / 0.5841 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.6002, allocations: 104.9 kB / 0.5842 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-05/0.6002, allocations: 180.3 kB / 0.5844 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.029e-05/0.6003, allocations: 180.1 kB / 0.5846 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.958e-05/0.6004, allocations: 180.2 kB / 0.5847 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.696e-05/0.6005, allocations: 180.3 kB / 0.5849 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.6006, allocations: 317 kB / 0.5852 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.6007, allocations: 182.1 kB / 0.5854 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/0.6008, allocations: 180.2 kB / 0.5856 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.6009, allocations: 104.9 kB / 0.5857 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.6009, allocations: 184.3 kB / 0.5858 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.601, allocations: 101 kB / 0.5859 GB, free: 2.574 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.863e-05/0.601, allocations: 95.22 kB / 0.586 GB, free: 2.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.601, allocations: 0 / 0.586 GB, free: 2.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.6013, allocations: 19.84 kB / 0.586 GB, free: 2.461 MB / 394.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 () * 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.0003683/0.6017, allocations: 0.8137 MB / 0.5868 GB, free: 1.621 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.029e-05/0.6018, allocations: 11.94 kB / 0.5868 GB, free: 1.609 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6018, allocations: 0 / 0.5868 GB, free: 1.609 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.6018, allocations: 288 / 0.5868 GB, free: 1.609 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.6021, allocations: 0.5305 MB / 0.5874 GB, free: 1.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.6026, allocations: 209.1 kB / 0.5876 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.6029, allocations: 0.7001 MB / 0.5882 GB, free: 112 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.583e-05/0.6029, allocations: 3.938 kB / 0.5882 GB, free: 108 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.603, allocations: 27.42 kB / 0.5883 GB, free: 80 kB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.603, allocations: 4 kB / 0.5883 GB, free: 76 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.6234, allocations: 0.8465 MB / 0.5891 GB, free: 15.23 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.6236, allocations: 138.4 kB / 0.5892 GB, free: 15.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/2.142, allocations: 1.203 kB / 0.5892 GB, free: 15.04 MB / 410.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