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.001935/0.001935, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002294/0.002294, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.521/1.521, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2584/0.2584, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.002314/0.002314, allocations: 79.86 kB / 0.497 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3636, allocations: 66.09 MB / 0.5615 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003292/0.3669, allocations: 1.737 MB / 0.5632 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001743/0.3671, allocations: 79.66 kB / 0.5633 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.3672, allocations: 0 / 0.5633 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.751e-05/0.3672, allocations: 15.86 kB / 0.5633 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/0.3673, allocations: 23.78 kB / 0.5633 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.081e-05/0.3674, allocations: 23.97 kB / 0.5633 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.3676, allocations: 99.59 kB / 0.5634 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.3677, allocations: 53.91 kB / 0.5635 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.3678, allocations: 39.86 kB / 0.5635 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.52e-05/0.3679, allocations: 47.78 kB / 0.5636 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.3679, allocations: 12 kB / 0.5636 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.054e-05/0.3679, allocations: 12 kB / 0.5636 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.368, allocations: 15.98 kB / 0.5636 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.368, allocations: 55.73 kB / 0.5636 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.3682, allocations: 119.5 kB / 0.5638 GB, free: 1.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3682, allocations: 8 kB / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3682, allocations: 0 / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3682, allocations: 0 / 0.5638 GB, free: 1.988 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.0005409/0.3688, allocations: 322.1 kB / 0.5641 GB, free: 1.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3688, allocations: 12.03 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/0.3689, allocations: 46.73 kB / 0.5641 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.3689, allocations: 12.84 kB / 0.5641 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.369, allocations: 114.5 kB / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.369, allocations: 12.61 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.3691, allocations: 20.25 kB / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.3693, allocations: 125.6 kB / 0.5644 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3693, allocations: 7.938 kB / 0.5644 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3693, allocations: 4 kB / 0.5644 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3693, allocations: 4 kB / 0.5644 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.3695, allocations: 63.97 kB / 0.5645 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008852/0.3704, allocations: 0.6953 MB / 0.5652 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.3705, allocations: 169.1 kB / 0.5653 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.3705, allocations: 80.14 kB / 0.5654 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.3705, allocations: 79.28 kB / 0.5655 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.653e-05/0.3706, allocations: 113.8 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3706, allocations: 0 / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.191e-05/0.3707, allocations: 29.7 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.521e-05/0.3708, allocations: 126.7 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.3709, allocations: 153.5 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.371, allocations: 25.7 kB / 0.5659 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.3711, allocations: 127.8 kB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-06/0.3711, allocations: 7.922 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.3711, allocations: 21.67 kB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.3713, allocations: 322.8 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.3713, allocations: 7.984 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.249e-05/0.3714, allocations: 41.16 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.585e-05/0.3715, allocations: 53.09 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3715, allocations: 0 / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001519/0.3716, allocations: 73.56 kB / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3716, allocations: 8 kB / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3716, allocations: 3.984 kB / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3717, allocations: 7.984 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.3717, allocations: 11.94 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3717, allocations: 0 / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.3718, allocations: 11.89 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.3718, allocations: 4.188 kB / 0.5666 GB, free: 14.85 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.0001236/0.3719, allocations: 198 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.372, allocations: 117.9 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.628e-05/0.3721, allocations: 116.6 kB / 0.567 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.302e-05/0.3722, allocations: 176.3 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.053e-05/0.3722, allocations: 180.2 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.101e-05/0.3723, allocations: 192.2 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.3727, allocations: 408.2 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-05/0.3727, allocations: 105 kB / 0.568 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.3728, allocations: 101 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-05/0.3728, allocations: 180.4 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.3729, allocations: 184.2 kB / 0.5684 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.245e-05/0.373, allocations: 192.2 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.243e-05/0.3731, allocations: 180.2 kB / 0.5688 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.3733, allocations: 311.7 kB / 0.5691 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.3734, allocations: 108.9 kB / 0.5692 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.3735, allocations: 196.3 kB / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3736, allocations: 105 kB / 0.5695 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.84e-05/0.3737, allocations: 180.2 kB / 0.5697 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.3737, allocations: 104.9 kB / 0.5698 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.224e-05/0.3738, allocations: 117.8 kB / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3738, allocations: 0 / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.3741, allocations: 19.88 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.000552/0.3746, allocations: 0.8087 MB / 0.5707 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.3747, allocations: 23.92 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3747, allocations: 384 / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.3747, allocations: 4 kB / 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.0004939/0.3752, allocations: 459.6 kB / 0.5711 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.3768, allocations: 1.58 MB / 0.5727 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.3772, allocations: 0.6924 MB / 0.5734 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.775e-05/0.3772, allocations: 7.984 kB / 0.5734 GB, free: 7.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.3772, allocations: 23.44 kB / 0.5734 GB, free: 7.496 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3772, allocations: 0 / 0.5734 GB, free: 7.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.4024, allocations: 1.629 MB / 0.575 GB, free: 5.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/8.233, allocations: 7.312 kB / 0.575 GB, free: 5.93 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.354231636039913] Failed to read output from testmodel.py, exit status != 0: ['time', 'gyrator.v1', 'gyrator.v2', 'gyrator.i1', 'gyrator.i2'] 8.300436785910279 8.315703463 7.944372799 Calling exit ...