Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001523/0.001523, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2237/0.2237, allocations: 46.12 MB / 344.4 MB, free: 11.47 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 79.88 kB / 480.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3466, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002973/0.3497, allocations: 1.725 MB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000171/0.3499, allocations: 76.86 kB / 0.5323 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.3499, allocations: 2.875 kB / 0.5323 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.947e-05/0.35, allocations: 17.47 kB / 0.5324 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.071e-05/0.3501, allocations: 22.69 kB / 0.5324 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.902e-05/0.3502, allocations: 22.58 kB / 0.5324 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.3503, allocations: 107.7 kB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.3505, allocations: 56.81 kB / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.366e-05/0.3505, allocations: 44.98 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.532e-05/0.3506, allocations: 46.83 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.3506, allocations: 10.69 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.366e-05/0.3507, allocations: 14.69 kB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.3507, allocations: 15.59 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.076e-05/0.3508, allocations: 55.34 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.351, allocations: 119.9 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.351, allocations: 0 / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.351, allocations: 0 / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.351, allocations: 4 kB / 0.5329 GB, free: 11.58 MB / 398.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.0005097/0.3515, allocations: 396.9 kB / 0.5332 GB, free: 11.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3516, allocations: 13.94 kB / 0.5332 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.3516, allocations: 48.17 kB / 0.5333 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.3516, allocations: 13.78 kB / 0.5333 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3518, allocations: 175 kB / 0.5335 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3518, allocations: 11.02 kB / 0.5335 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.3518, allocations: 9.531 kB / 0.5335 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.3521, allocations: 134.8 kB / 0.5336 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3521, allocations: 7.922 kB / 0.5336 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3521, allocations: 5.375 kB / 0.5336 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3521, allocations: 4.125 kB / 0.5336 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.3522, allocations: 64.73 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009078/0.3531, allocations: 0.7309 MB / 0.5344 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3533, allocations: 170.5 kB / 0.5346 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.3533, allocations: 80.14 kB / 0.5347 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.3534, allocations: 75.28 kB / 0.5347 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/0.3534, allocations: 111.2 kB / 0.5348 GB, free: 9.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.3535, allocations: 0 / 0.5348 GB, free: 9.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.658e-05/0.3536, allocations: 33.83 kB / 0.5349 GB, free: 9.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.3536, allocations: 126.7 kB / 0.535 GB, free: 9.406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3538, allocations: 151.4 kB / 0.5351 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.3538, allocations: 31.02 kB / 0.5352 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.3539, allocations: 125.2 kB / 0.5353 GB, free: 9.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.3539, allocations: 5.312 kB / 0.5353 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.354, allocations: 23.02 kB / 0.5353 GB, free: 9.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3541, allocations: 324.1 kB / 0.5356 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.3542, allocations: 7.156 kB / 0.5356 GB, free: 8.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/0.3542, allocations: 40.38 kB / 0.5357 GB, free: 8.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.09e-05/0.3543, allocations: 59.27 kB / 0.5357 GB, free: 8.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3543, allocations: 0 / 0.5357 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001629/0.3545, allocations: 75.34 kB / 0.5358 GB, free: 8.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3545, allocations: 5.906 kB / 0.5358 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3545, allocations: 5.875 kB / 0.5358 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3545, allocations: 1.719 kB / 0.5358 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.643e-05/0.3546, allocations: 12.91 kB / 0.5358 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3546, allocations: 2.281 kB / 0.5358 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.3547, allocations: 10.77 kB / 0.5358 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.3547, allocations: 6.469 kB / 0.5358 GB, free: 8.574 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.3549, allocations: 198.2 kB / 0.536 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.355, allocations: 116.7 kB / 0.5361 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.109e-05/0.3551, allocations: 111.1 kB / 0.5362 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001312/0.3552, allocations: 178 kB / 0.5364 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-05/0.3553, allocations: 184.2 kB / 0.5366 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.272e-05/0.3554, allocations: 185.8 kB / 0.5368 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.3557, allocations: 448.6 kB / 0.5372 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.046e-05/0.3558, allocations: 102.5 kB / 0.5373 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.3558, allocations: 102.5 kB / 0.5374 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.73e-05/0.3559, allocations: 180.4 kB / 0.5376 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.949e-05/0.356, allocations: 181.6 kB / 0.5377 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.144e-05/0.3561, allocations: 189.1 kB / 0.5379 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.024e-05/0.3562, allocations: 181.8 kB / 0.5381 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.3563, allocations: 309 kB / 0.5384 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.3564, allocations: 192.6 kB / 0.5386 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/0.3565, allocations: 181.4 kB / 0.5387 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.3567, allocations: 106.4 kB / 0.5388 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.109e-05/0.3568, allocations: 176.3 kB / 0.539 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.3568, allocations: 113.9 kB / 0.5391 GB, free: 5.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.769e-05/0.3569, allocations: 110.3 kB / 0.5392 GB, free: 4.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3569, allocations: 0 / 0.5392 GB, free: 4.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.3572, allocations: 17.12 kB / 0.5392 GB, free: 4.941 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004801/0.3577, allocations: 0.8125 MB / 0.54 GB, free: 4.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.065e-05/0.3578, allocations: 27 kB / 0.5401 GB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3578, allocations: 0 / 0.5401 GB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.3578, allocations: 0 / 0.5401 GB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3582, allocations: 466.3 kB / 0.5405 GB, free: 3.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.3596, allocations: 1.585 MB / 0.542 GB, free: 2.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.36, allocations: 0.6958 MB / 0.5427 GB, free: 1.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.729e-05/0.36, allocations: 5.344 kB / 0.5427 GB, free: 1.406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.3601, allocations: 26.95 kB / 0.5428 GB, free: 1.383 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3601, allocations: 3.938 kB / 0.5428 GB, free: 1.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.3815, allocations: 1.605 MB / 0.5443 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.409, allocations: 8.938 kB / 0.5443 GB, free: 0.5117 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1)