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.001214/0.001214, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.475/1.475, allocations: 221.3 MB / 236 MB, free: 2.977 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.001092/0.001092, allocations: 83.06 kB / 287 MB, free: 268 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2109/0.2109, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.776e-05/4.779e-05, allocations: 4.219 kB / 451.9 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1873, allocations: 61.92 MB / 0.5018 GB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5186/0.706, allocations: 86.31 MB / 0.5861 GB, free: 2.965 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.7064, allocations: 71.95 kB / 0.5862 GB, free: 2.895 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003869/0.7102, allocations: 1.533 MB / 0.5877 GB, free: 1.375 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.7103, allocations: 0 / 0.5877 GB, free: 1.375 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.7103, allocations: 4 kB / 0.5877 GB, free: 1.371 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.0004151/0.7108, allocations: 380.7 kB / 0.588 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.7108, allocations: 8.031 kB / 0.588 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/0.7109, allocations: 46.55 kB / 0.5881 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.7109, allocations: 8.594 kB / 0.5881 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.7111, allocations: 171 kB / 0.5882 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.7111, allocations: 12.19 kB / 0.5883 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.7111, allocations: 12 kB / 0.5883 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.7114, allocations: 134.1 kB / 0.5884 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.7114, allocations: 0 / 0.5884 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.7114, allocations: 4 kB / 0.5884 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.7114, allocations: 4 kB / 0.5884 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.7116, allocations: 56 kB / 0.5885 GB, free: 460 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008444/0.7124, allocations: 0.7312 MB / 0.5892 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.541e-05/0.7125, allocations: 169.1 kB / 0.5893 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.7126, allocations: 80.14 kB / 0.5894 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-05/0.7127, allocations: 79.22 kB / 0.5895 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/0.7127, allocations: 109.8 kB / 0.5896 GB, free: 15.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.644e-06/0.7127, allocations: 4 kB / 0.5896 GB, free: 15.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 8.302e-05/0.7128, allocations: 29.69 kB / 0.5896 GB, free: 15.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/0.7129, allocations: 131.1 kB / 0.5897 GB, free: 15.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.7131, allocations: 137.4 kB / 0.5899 GB, free: 14.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.7131, allocations: 25.7 kB / 0.5899 GB, free: 14.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.7132, allocations: 123.6 kB / 0.59 GB, free: 14.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.7132, allocations: 3.938 kB / 0.59 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.7132, allocations: 4 kB / 0.59 GB, free: 14.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.7134, allocations: 322.8 kB / 0.5903 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.7134, allocations: 8 kB / 0.5903 GB, free: 14.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/0.7134, allocations: 45.09 kB / 0.5904 GB, free: 14.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/0.7135, allocations: 12 kB / 0.5904 GB, free: 14.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7135, allocations: 0 / 0.5904 GB, free: 14.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001542/0.7137, allocations: 77.47 kB / 0.5905 GB, free: 14.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.7137, allocations: 4 kB / 0.5905 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.7137, allocations: 3.984 kB / 0.5905 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.7137, allocations: 4 kB / 0.5905 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.7138, allocations: 12 kB / 0.5905 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.7138, allocations: 7.938 kB / 0.5905 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.7139, allocations: 3.938 kB / 0.5905 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.7139, allocations: 4 kB / 0.5905 GB, free: 14.18 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 () * 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.0001148/0.714, allocations: 192.4 kB / 0.5907 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.7141, allocations: 108.9 kB / 0.5908 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.125e-05/0.7142, allocations: 120.5 kB / 0.5909 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.101e-05/0.7143, allocations: 176.3 kB / 0.5911 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-05/0.7143, allocations: 184.2 kB / 0.5913 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.263e-05/0.7144, allocations: 180.3 kB / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.7147, allocations: 443.9 kB / 0.5918 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.262e-05/0.7148, allocations: 108.9 kB / 0.5919 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.7148, allocations: 101 kB / 0.592 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.801e-05/0.7149, allocations: 188 kB / 0.5922 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-05/0.7149, allocations: 176.3 kB / 0.5924 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.294e-05/0.715, allocations: 180.3 kB / 0.5926 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.264e-05/0.7151, allocations: 184.2 kB / 0.5927 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.7152, allocations: 315.6 kB / 0.593 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.7153, allocations: 186 kB / 0.5932 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.7154, allocations: 188.2 kB / 0.5934 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.902e-05/0.7155, allocations: 108.9 kB / 0.5935 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.7156, allocations: 176.3 kB / 0.5937 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.7156, allocations: 108.9 kB / 0.5938 GB, free: 10.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.649e-05/0.7157, allocations: 109.9 kB / 0.5939 GB, free: 10.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7157, allocations: 0 / 0.5939 GB, free: 10.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.716, allocations: 16 kB / 0.5939 GB, free: 10.49 MB / 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 () * 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.0003771/0.7164, allocations: 0.8127 MB / 0.5947 GB, free: 9.648 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.422e-05/0.7165, allocations: 19.94 kB / 0.5947 GB, free: 9.629 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7165, allocations: 384 / 0.5947 GB, free: 9.629 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.379e-06/0.7165, allocations: 4 kB / 0.5947 GB, free: 9.625 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.7168, allocations: 0.5301 MB / 0.5952 GB, free: 9.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.7172, allocations: 202.5 kB / 0.5954 GB, free: 8.855 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.7175, allocations: 0.7004 MB / 0.5961 GB, free: 8.129 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.806e-05/0.7175, allocations: 7.984 kB / 0.5961 GB, free: 8.121 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.7176, allocations: 19.44 kB / 0.5961 GB, free: 8.102 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.7176, allocations: 0 / 0.5961 GB, free: 8.102 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.7293, allocations: 1.348 MB / 0.5974 GB, free: 6.855 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.7296, allocations: 158.5 kB / 0.5976 GB, free: 6.625 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/2.221, allocations: 4 kB / 0.5976 GB, free: 6.621 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