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.00191/0.00191, allocations: 104.6 kB / 19.8 MB, free: 2.5 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.002515/0.002515, allocations: 217.1 kB / 22.99 MB, free: 5.59 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.474/1.474, allocations: 230.2 MB / 256.3 MB, free: 8.539 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.2348/0.2348, allocations: 46.89 MB / 359.4 MB, free: 4.902 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.002423/0.002423, allocations: 83.86 kB / 0.4941 GB, free: 9.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3218, allocations: 65.99 MB / 0.5586 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002818/0.3246, allocations: 1.739 MB / 0.5603 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001581/0.3248, allocations: 75.72 kB / 0.5603 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.3248, allocations: 4 kB / 0.5603 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.35e-05/0.3249, allocations: 11.86 kB / 0.5603 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.3249, allocations: 27.77 kB / 0.5604 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.551e-05/0.325, allocations: 23.97 kB / 0.5604 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3252, allocations: 107.5 kB / 0.5605 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.3253, allocations: 49.77 kB / 0.5605 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.3254, allocations: 39.86 kB / 0.5606 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.3254, allocations: 47.78 kB / 0.5606 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.3255, allocations: 12 kB / 0.5606 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.034e-05/0.3255, allocations: 12 kB / 0.5606 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.3255, allocations: 19.92 kB / 0.5607 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.3256, allocations: 51.8 kB / 0.5607 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.3258, allocations: 115.5 kB / 0.5608 GB, free: 2.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3258, allocations: 4 kB / 0.5608 GB, free: 2.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.007e-06/0.3258, allocations: 3.984 kB / 0.5608 GB, free: 2.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.3258, allocations: 4 kB / 0.5608 GB, free: 2.797 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.0005008/0.3263, allocations: 395.3 kB / 0.5612 GB, free: 2.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3263, allocations: 12.03 kB / 0.5612 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.3264, allocations: 42.75 kB / 0.5613 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.3264, allocations: 16.83 kB / 0.5613 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.3265, allocations: 172.3 kB / 0.5614 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.3265, allocations: 8.609 kB / 0.5615 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3266, allocations: 12.38 kB / 0.5615 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.3268, allocations: 129.6 kB / 0.5616 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3268, allocations: 3.938 kB / 0.5616 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3268, allocations: 8 kB / 0.5616 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3268, allocations: 0 / 0.5616 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.3269, allocations: 71.91 kB / 0.5617 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008173/0.3278, allocations: 0.7313 MB / 0.5624 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.276e-05/0.3278, allocations: 165.1 kB / 0.5625 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.3279, allocations: 80.14 kB / 0.5626 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.3279, allocations: 75.28 kB / 0.5627 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.328, allocations: 109.8 kB / 0.5628 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.328, allocations: 0 / 0.5628 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.151e-05/0.328, allocations: 37.64 kB / 0.5628 GB, free: 0.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.3281, allocations: 126.7 kB / 0.563 GB, free: 416 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.3283, allocations: 160.1 kB / 0.5631 GB, free: 248 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.3283, allocations: 25.7 kB / 0.5631 GB, free: 216 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.3284, allocations: 119.9 kB / 0.5632 GB, free: 92 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.3284, allocations: 0 / 0.5632 GB, free: 92 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.3284, allocations: 29.61 kB / 0.5633 GB, free: 56 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3285, allocations: 322.8 kB / 0.5636 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.3286, allocations: 8 kB / 0.5636 GB, free: 15.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.236e-05/0.3286, allocations: 45.14 kB / 0.5636 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.71e-05/0.3287, allocations: 57.03 kB / 0.5637 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3287, allocations: 0 / 0.5637 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001451/0.3288, allocations: 77.66 kB / 0.5638 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3288, allocations: 4 kB / 0.5638 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3288, allocations: 0 / 0.5638 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3289, allocations: 4 kB / 0.5638 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.3289, allocations: 8 kB / 0.5638 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3289, allocations: 7.984 kB / 0.5638 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.329, allocations: 11.83 kB / 0.5638 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.329, allocations: 4 kB / 0.5638 GB, free: 15.46 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.000129/0.3291, allocations: 197.2 kB / 0.564 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.3292, allocations: 114 kB / 0.5641 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.3292, allocations: 116.7 kB / 0.5642 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.666e-05/0.3293, allocations: 184.2 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.194e-05/0.3294, allocations: 176.3 kB / 0.5645 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.09e-05/0.3295, allocations: 188.1 kB / 0.5647 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.3298, allocations: 441.2 kB / 0.5651 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.717e-05/0.3298, allocations: 101 kB / 0.5652 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.3299, allocations: 104.9 kB / 0.5653 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-05/0.3299, allocations: 180.4 kB / 0.5655 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.164e-05/0.33, allocations: 184.2 kB / 0.5657 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.99e-05/0.3301, allocations: 180.3 kB / 0.5659 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.836e-05/0.3302, allocations: 184.3 kB / 0.566 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.3303, allocations: 319.6 kB / 0.5663 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/0.3304, allocations: 190 kB / 0.5665 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.899e-05/0.3305, allocations: 176.3 kB / 0.5667 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3306, allocations: 113.1 kB / 0.5668 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.3307, allocations: 188.2 kB / 0.567 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.3308, allocations: 108.9 kB / 0.5671 GB, free: 11.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.43e-05/0.3309, allocations: 111.3 kB / 0.5672 GB, free: 11.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3309, allocations: 0 / 0.5672 GB, free: 11.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.3311, allocations: 15.94 kB / 0.5672 GB, free: 11.75 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.0004334/0.3315, allocations: 0.8126 MB / 0.568 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.086e-05/0.3316, allocations: 19.94 kB / 0.568 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3316, allocations: 0 / 0.568 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.3316, allocations: 0 / 0.568 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.332, allocations: 471.9 kB / 0.5685 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.3335, allocations: 1.576 MB / 0.57 GB, free: 8.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.3338, allocations: 0.6963 MB / 0.5707 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.626e-05/0.3338, allocations: 8 kB / 0.5707 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.3339, allocations: 23.42 kB / 0.5707 GB, free: 7.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3339, allocations: 0 / 0.5707 GB, free: 7.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.3626, allocations: 1.59 MB / 0.5723 GB, free: 6.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.248, allocations: 13.11 kB / 0.5723 GB, free: 6.449 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.056640065013198] Failed to read output from testmodel.py, exit status != 0: ['time', 'gyrator.v1', 'gyrator.v2', 'gyrator.i1', 'gyrator.i2'] 8.329702724993695 8.351290941 8.021374866 Calling exit ...