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.001184/0.001184, allocations: 105.5 kB / 19.74 MB, free: 2.453 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.001578/0.001578, allocations: 225.9 kB / 22.92 MB, free: 5.195 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.295/1.295, allocations: 230.2 MB / 256.1 MB, free: 8.637 MB / 206.1 MB " [Timeout remaining time 179] 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.1996/0.1996, allocations: 46.88 MB / 359.3 MB, free: 5.004 MB / 286.1 MB " [Timeout remaining time 180] 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.002148/0.002148, allocations: 83.86 kB / 0.4939 GB, free: 9.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2607, allocations: 65.99 MB / 0.5584 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002627/0.2634, allocations: 1.729 MB / 0.5601 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001487/0.2635, allocations: 75.73 kB / 0.5601 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.2636, allocations: 0 / 0.5601 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.237e-05/0.2636, allocations: 23.78 kB / 0.5602 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.2637, allocations: 31.7 kB / 0.5602 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.825e-05/0.2638, allocations: 19.98 kB / 0.5602 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.2639, allocations: 99.58 kB / 0.5603 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.264, allocations: 45.8 kB / 0.5604 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.542e-05/0.2641, allocations: 43.84 kB / 0.5604 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.2642, allocations: 51.77 kB / 0.5605 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.2642, allocations: 12 kB / 0.5605 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.56e-05/0.2642, allocations: 12 kB / 0.5605 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.2643, allocations: 23.92 kB / 0.5605 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.2643, allocations: 43.81 kB / 0.5605 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.2645, allocations: 123.5 kB / 0.5607 GB, free: 2.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2645, allocations: 0 / 0.5607 GB, free: 2.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2645, allocations: 0 / 0.5607 GB, free: 2.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.2645, allocations: 0 / 0.5607 GB, free: 2.914 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.0004991/0.265, allocations: 399.3 kB / 0.561 GB, free: 2.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.265, allocations: 12.02 kB / 0.561 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/0.2651, allocations: 46.75 kB / 0.5611 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.2651, allocations: 20.84 kB / 0.5611 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.2652, allocations: 172.2 kB / 0.5613 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.2652, allocations: 12.61 kB / 0.5613 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.2653, allocations: 8.375 kB / 0.5613 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.2655, allocations: 133.5 kB / 0.5614 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2655, allocations: 3.938 kB / 0.5614 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2655, allocations: 4 kB / 0.5614 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.2655, allocations: 4 kB / 0.5614 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.2656, allocations: 63.98 kB / 0.5615 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/0.2664, allocations: 0.7274 MB / 0.5622 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.71e-05/0.2665, allocations: 173.1 kB / 0.5624 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.2665, allocations: 80.14 kB / 0.5624 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.2666, allocations: 79.22 kB / 0.5625 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.2666, allocations: 105.8 kB / 0.5626 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.2666, allocations: 0 / 0.5626 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.153e-05/0.2667, allocations: 33.7 kB / 0.5627 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.2668, allocations: 130.7 kB / 0.5628 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.2669, allocations: 155.7 kB / 0.5629 GB, free: 360 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.2669, allocations: 25.7 kB / 0.563 GB, free: 328 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.267, allocations: 123.9 kB / 0.5631 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.267, allocations: 0 / 0.5631 GB, free: 200 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.2671, allocations: 21.67 kB / 0.5631 GB, free: 172 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2672, allocations: 326.8 kB / 0.5634 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.2672, allocations: 4 kB / 0.5634 GB, free: 15.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.2673, allocations: 45.09 kB / 0.5635 GB, free: 15.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.65e-05/0.2673, allocations: 65.02 kB / 0.5635 GB, free: 15.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2673, allocations: 0 / 0.5635 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001434/0.2675, allocations: 69.56 kB / 0.5636 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2675, allocations: 8 kB / 0.5636 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2675, allocations: 0 / 0.5636 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2675, allocations: 4 kB / 0.5636 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.2676, allocations: 8.188 kB / 0.5636 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2676, allocations: 7.938 kB / 0.5636 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.2676, allocations: 15.83 kB / 0.5636 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.2676, allocations: 7.984 kB / 0.5636 GB, free: 15.57 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.000116/0.2678, allocations: 193.1 kB / 0.5638 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.2678, allocations: 114 kB / 0.5639 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.531e-05/0.2679, allocations: 124.6 kB / 0.564 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.267e-05/0.268, allocations: 180.3 kB / 0.5642 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.198e-05/0.268, allocations: 184.2 kB / 0.5644 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.516e-05/0.2681, allocations: 184.2 kB / 0.5646 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.2684, allocations: 433.2 kB / 0.565 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.928e-05/0.2684, allocations: 108.9 kB / 0.5651 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.2685, allocations: 101 kB / 0.5652 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-05/0.2685, allocations: 184.5 kB / 0.5654 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.781e-05/0.2686, allocations: 184.2 kB / 0.5655 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-05/0.2687, allocations: 184.3 kB / 0.5657 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.397e-05/0.2688, allocations: 184.2 kB / 0.5659 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.2689, allocations: 311.7 kB / 0.5662 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.949e-05/0.269, allocations: 194 kB / 0.5664 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.198e-05/0.2691, allocations: 176.3 kB / 0.5665 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.24e-05/0.2692, allocations: 104.9 kB / 0.5666 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.2693, allocations: 184.3 kB / 0.5668 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.2693, allocations: 116.8 kB / 0.5669 GB, free: 11.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.311e-05/0.2694, allocations: 113.6 kB / 0.567 GB, free: 11.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2694, allocations: 0 / 0.567 GB, free: 11.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.2696, allocations: 19.94 kB / 0.567 GB, free: 11.84 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.0004311/0.27, allocations: 0.8048 MB / 0.5678 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.495e-05/0.2701, allocations: 19.94 kB / 0.5679 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2701, allocations: 0 / 0.5679 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.025e-06/0.2701, allocations: 4 kB / 0.5679 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.2705, allocations: 463.6 kB / 0.5683 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.2719, allocations: 1.592 MB / 0.5699 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.2722, allocations: 0.6924 MB / 0.5705 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.138e-05/0.2722, allocations: 4 kB / 0.5705 GB, free: 8.105 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.2722, allocations: 23.42 kB / 0.5706 GB, free: 8.082 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2722, allocations: 0 / 0.5706 GB, free: 8.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.2938, allocations: 1.594 MB / 0.5721 GB, free: 6.559 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/7.132, allocations: 4.359 kB / 0.5721 GB, free: 6.559 MB / 414.1 MB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.646215165994363]