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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001397/0.001397, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.241/0.241, allocations: 46.93 MB / 361.6 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "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.002303/0.002303, allocations: 75.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4068, allocations: 66.08 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003218/0.4101, allocations: 1.744 MB / 0.5632 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001867/0.4102, allocations: 75.72 kB / 0.5633 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.4103, allocations: 4 kB / 0.5633 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.538e-05/0.4104, allocations: 15.84 kB / 0.5633 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.006e-05/0.4105, allocations: 23.78 kB / 0.5633 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.243e-05/0.4106, allocations: 19.98 kB / 0.5633 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.4107, allocations: 107.5 kB / 0.5634 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.4109, allocations: 49.92 kB / 0.5635 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.002e-05/0.411, allocations: 43.86 kB / 0.5635 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.411, allocations: 51.77 kB / 0.5636 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.4111, allocations: 8 kB / 0.5636 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.82e-05/0.4111, allocations: 12 kB / 0.5636 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.4111, allocations: 23.92 kB / 0.5636 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.4112, allocations: 47.8 kB / 0.5637 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.4114, allocations: 119.5 kB / 0.5638 GB, free: 1.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4114, allocations: 0 / 0.5638 GB, free: 1.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4114, allocations: 0 / 0.5638 GB, free: 1.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.4114, allocations: 0 / 0.5638 GB, free: 1.98 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.0005255/0.4119, allocations: 326.2 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4119, allocations: 12.02 kB / 0.5641 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.412, allocations: 42.75 kB / 0.5641 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.412, allocations: 12.84 kB / 0.5641 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.4122, allocations: 118.4 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.4122, allocations: 12.61 kB / 0.5643 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.4122, allocations: 8.375 kB / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.4124, allocations: 125.6 kB / 0.5644 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4125, allocations: 7.938 kB / 0.5644 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.4125, allocations: 4 kB / 0.5644 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.4125, allocations: 7.984 kB / 0.5644 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.4126, allocations: 63.92 kB / 0.5645 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008981/0.4135, allocations: 0.6953 MB / 0.5652 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.4136, allocations: 165.1 kB / 0.5653 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.4137, allocations: 80.14 kB / 0.5654 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.4137, allocations: 75.28 kB / 0.5655 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.826e-05/0.4138, allocations: 113.8 kB / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.4138, allocations: 4 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.822e-05/0.4139, allocations: 37.58 kB / 0.5656 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.4139, allocations: 126.7 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.4141, allocations: 157.5 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.4141, allocations: 25.7 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.4142, allocations: 119.8 kB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.532e-06/0.4142, allocations: 7.984 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.4142, allocations: 21.67 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4144, allocations: 326.8 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.886e-05/0.4144, allocations: 4 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.177e-05/0.4145, allocations: 45.14 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.073e-05/0.4146, allocations: 57.03 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4146, allocations: 4 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001615/0.4147, allocations: 69.56 kB / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4148, allocations: 8.188 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.4148, allocations: 4 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4148, allocations: 0 / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.4149, allocations: 11.98 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4149, allocations: 4 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.4149, allocations: 12.02 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.4149, allocations: 4 kB / 0.5666 GB, free: 14.84 MB / 414.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.0001319/0.4151, allocations: 202 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/0.4151, allocations: 118 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.339e-05/0.4152, allocations: 112.6 kB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.406e-05/0.4153, allocations: 180.2 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-05/0.4154, allocations: 184.3 kB / 0.5673 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.441e-05/0.4155, allocations: 184.1 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.4158, allocations: 404.3 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.286e-05/0.4158, allocations: 105 kB / 0.568 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.4159, allocations: 108.9 kB / 0.5681 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.416, allocations: 180.4 kB / 0.5683 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.951e-05/0.416, allocations: 184.2 kB / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.954e-05/0.4161, allocations: 180.3 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.665e-05/0.4162, allocations: 188.2 kB / 0.5688 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.4164, allocations: 311.7 kB / 0.5691 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.4165, allocations: 116.9 kB / 0.5692 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.803e-05/0.4166, allocations: 180.3 kB / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.951e-05/0.4167, allocations: 105 kB / 0.5695 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.4167, allocations: 184.2 kB / 0.5697 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.114e-05/0.4168, allocations: 116.9 kB / 0.5698 GB, free: 11.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.392e-05/0.4169, allocations: 105.3 kB / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4169, allocations: 0 / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.4171, allocations: 19.94 kB / 0.5699 GB, free: 11.25 MB / 414.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.0004908/0.4176, allocations: 0.8125 MB / 0.5707 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.452e-05/0.4177, allocations: 19.94 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4177, allocations: 0 / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.4177, allocations: 0 / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.4181, allocations: 472 kB / 0.5711 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.4197, allocations: 1.572 MB / 0.5727 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.4201, allocations: 0.6963 MB / 0.5734 GB, free: 7.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.934e-05/0.4201, allocations: 4 kB / 0.5734 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.4202, allocations: 27.42 kB / 0.5734 GB, free: 7.488 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4202, allocations: 3.938 kB / 0.5734 GB, free: 7.484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.4454, allocations: 1.626 MB / 0.575 GB, free: 5.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/8.149, allocations: 14.12 kB / 0.575 GB, free: 5.914 MB / 414.1 MB " [Timeout remaining time 652] (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 --stepSize=0.00019992 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.120729558635503] Failed to read output from testmodel.py, exit status != 0: ['time', 'gyrator.v1', 'gyrator.v2', 'gyrator.i1', 'gyrator.i2'] 8.221050485037267 8.250804101 7.833833301 Calling exit ...