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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 93.33 kB / 16.98 MB, free: 5.938 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.001325/0.001326, allocations: 186.8 kB / 17.88 MB, free: 5.594 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.348/1.348, allocations: 223.2 MB / 241.8 MB, free: 14.67 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.1906/0.1906, allocations: 44.23 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002695, allocations: 8 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001676/0.1054, allocations: 1.347 MB / 472.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000193/0.1056, allocations: 91.67 kB / 473 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/0.1057, allocations: 4 kB / 473 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.1057, allocations: 11.91 kB / 473 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.179e-05/0.1058, allocations: 23.89 kB / 473 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.051e-05/0.1059, allocations: 19.98 kB / 473 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.883e-05/0.106, allocations: 63.91 kB / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1061, allocations: 43.67 kB / 473.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.374e-05/0.1062, allocations: 27.88 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.505e-05/0.1062, allocations: 43.83 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1063, allocations: 4 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.1063, allocations: 8 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.1063, allocations: 23.86 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.1064, allocations: 45.64 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.681e-05/0.1065, allocations: 88.03 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.1065, allocations: 0 / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1065, allocations: 0 / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1065, allocations: 0 / 473.4 MB, free: 11.8 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004271/0.1069, allocations: 379.3 kB / 473.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.107, allocations: 8.031 kB / 473.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.107, allocations: 46.55 kB / 473.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.107, allocations: 15.81 kB / 473.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1072, allocations: 174.9 kB / 474 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1072, allocations: 8.234 kB / 474 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.1072, allocations: 15.95 kB / 474 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.1074, allocations: 125 kB / 474.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1074, allocations: 7.938 kB / 474.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1075, allocations: 4 kB / 474.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1075, allocations: 4 kB / 474.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1076, allocations: 63.97 kB / 474.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.1084, allocations: 0.7312 MB / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.819e-05/0.1084, allocations: 165.1 kB / 475.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.1085, allocations: 79.27 kB / 475.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.1085, allocations: 105.8 kB / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 3.196e-06/0.1085, allocations: 0 / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.238e-05/0.1086, allocations: 45.48 kB / 475.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.1087, allocations: 130.7 kB / 475.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.1088, allocations: 144.4 kB / 475.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.1088, allocations: 25.7 kB / 475.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.1089, allocations: 131.5 kB / 475.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.1089, allocations: 0 / 475.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.1089, allocations: 0 / 475.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.109, allocations: 318.8 kB / 476 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.109, allocations: 8 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.634e-05/0.1091, allocations: 45.14 kB / 476.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.264e-05/0.1091, allocations: 15.94 kB / 476.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1091, allocations: 4 kB / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001402/0.1093, allocations: 69.56 kB / 476.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1093, allocations: 8 kB / 476.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1093, allocations: 0 / 476.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1093, allocations: 0 / 476.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.06e-05/0.1094, allocations: 15.98 kB / 476.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1094, allocations: 0 / 476.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.327e-05/0.1095, allocations: 16.03 kB / 476.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.1096, allocations: 11.94 kB / 476.2 MB, free: 8.645 MB / 350.1 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.0001332/0.1097, allocations: 197.5 kB / 476.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.803e-05/0.1098, allocations: 108.9 kB / 476.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.1099, allocations: 112.8 kB / 476.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.24e-05/0.11, allocations: 184.2 kB / 476.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-05/0.1101, allocations: 180.3 kB / 477 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-05/0.1102, allocations: 180.2 kB / 477.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.1105, allocations: 441.1 kB / 477.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.433e-05/0.1105, allocations: 101 kB / 477.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.1106, allocations: 120.9 kB / 477.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.135e-05/0.1107, allocations: 176.3 kB / 478 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.979e-05/0.1108, allocations: 184.2 kB / 478.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.148e-05/0.1108, allocations: 176.3 kB / 478.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.114e-05/0.1109, allocations: 184.2 kB / 478.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.111, allocations: 315.7 kB / 478.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/0.1111, allocations: 190 kB / 479 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.045e-05/0.1112, allocations: 176.3 kB / 479.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.1113, allocations: 112.8 kB / 479.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.1113, allocations: 184.3 kB / 479.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.1114, allocations: 105.1 kB / 479.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.2e-05/0.1115, allocations: 105.3 kB / 479.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1115, allocations: 0 / 479.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1117, allocations: 27.91 kB / 479.7 MB, free: 4.938 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 (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.0003913/0.1121, allocations: 0.8124 MB / 480.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.025e-05/0.1122, allocations: 16.25 kB / 480.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1122, allocations: 4.062 kB / 480.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.995e-06/0.1122, allocations: 3.984 kB / 480.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.1125, allocations: 0.5224 MB / 481.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1136, allocations: 1.365 MB / 482.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1139, allocations: 0.7043 MB / 483.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.702e-05/0.114, allocations: 4 kB / 483.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.114, allocations: 27.42 kB / 483.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.114, allocations: 0 / 483.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.1249, allocations: 1.359 MB / 484.5 MB, free: 112 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.1251, allocations: 174.9 kB / 484.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/1.905, allocations: 0 / 484.7 MB, free: 15.87 MB / 366.1 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