Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.001371/0.001371, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001601/0.001601, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.53/1.53, allocations: 230.5 MB / 258.2 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 59.91 kB / 378.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3331, allocations: 53.41 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004867/0.3379, allocations: 3.208 MB / 435.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3394, allocations: 0.814 MB / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.3395, allocations: 15.94 kB / 436 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.3397, allocations: 63.3 kB / 436 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.34, allocations: 134.8 kB / 436.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.3404, allocations: 139.8 kB / 436.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005987/0.341, allocations: 0.5094 MB / 436.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.3412, allocations: 99.64 kB / 436.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.3415, allocations: 207.3 kB / 437.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.3418, allocations: 207 kB / 437.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.657e-05/0.3419, allocations: 40 kB / 437.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.342, allocations: 44 kB / 437.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/0.3421, allocations: 91.62 kB / 437.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.3423, allocations: 183.1 kB / 437.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006221/0.3429, allocations: 0.5018 MB / 438.1 MB, free: 192 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3429, allocations: 4 kB / 438.2 MB, free: 188 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3429, allocations: 4 kB / 438.2 MB, free: 184 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.343, allocations: 0 / 438.2 MB, free: 184 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00124/0.3442, allocations: 0.6567 MB / 438.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.3443, allocations: 12.03 kB / 438.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.806e-05/0.3443, allocations: 8.844 kB / 438.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.541e-05/0.3444, allocations: 66.72 kB / 438.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003717/0.3447, allocations: 76.58 kB / 439 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.3452, allocations: 274.3 kB / 439.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.3453, allocations: 28.97 kB / 439.3 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.3453, allocations: 32.38 kB / 439.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/0.3461, allocations: 439.8 kB / 439.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3461, allocations: 0 / 439.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.3461, allocations: 12 kB / 439.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.3461, allocations: 8 kB / 439.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005845/0.3467, allocations: 270.4 kB / 440 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.3487, allocations: 1.302 MB / 441.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.3492, allocations: 197.5 kB / 441.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.3494, allocations: 97.22 kB / 441.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3494, allocations: 4 kB / 441.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.3494, allocations: 54.36 kB / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.3494, allocations: 0 / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001449/0.3509, allocations: 471.6 kB / 442.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3509, allocations: 51.41 kB / 442.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.3513, allocations: 316.5 kB / 442.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.3513, allocations: 33.7 kB / 442.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.3515, allocations: 216.4 kB / 442.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/0.3516, allocations: 75.38 kB / 442.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.756e-05/0.3517, allocations: 57.64 kB / 442.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3519, allocations: 334.8 kB / 443.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.3521, allocations: 83.95 kB / 443.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3523, allocations: 125 kB / 443.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.3527, allocations: 200.1 kB / 443.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3527, allocations: 4 kB / 443.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007304/0.3534, allocations: 351.6 kB / 443.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3534, allocations: 8 kB / 443.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3534, allocations: 4.062 kB / 443.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004351/0.3539, allocations: 118.4 kB / 444.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.354, allocations: 31.92 kB / 444.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004325/0.3584, allocations: 4.641 MB / 448.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.3586, allocations: 27.83 kB / 448.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.3586, allocations: 8.281 kB / 448.8 MB, free: 4.898 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002185/0.3588, allocations: 153.9 kB / 448.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.3589, allocations: 39.8 kB / 449 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.943e-05/0.359, allocations: 39.2 kB / 449 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.359, allocations: 4 kB / 449 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.359, allocations: 96 / 449 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.359, allocations: 3.984 kB / 449 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.3595, allocations: 316.4 kB / 449.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3595, allocations: 0 / 449.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.3596, allocations: 23.92 kB / 449.3 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003328/0.3599, allocations: 114.4 kB / 449.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.3599, allocations: 12 kB / 449.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004119/0.3641, allocations: 4.634 MB / 454.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3641, allocations: 3.938 kB / 454.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.3647, allocations: 398.5 kB / 454.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3648, allocations: 51.72 kB / 454.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.3649, allocations: 4 kB / 454.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.3651, allocations: 20.05 kB / 454.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3652, allocations: 43.81 kB / 454.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3652, allocations: 4 kB / 454.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.3655, allocations: 219.1 kB / 454.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3655, allocations: 0 / 454.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006992/0.3662, allocations: 119.8 kB / 454.9 MB, free: 14.3 MB / 366.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: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009677/0.3672, allocations: 0.9333 MB / 455.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009526/0.3681, allocations: 0.5544 MB / 456.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3681, allocations: 0 / 456.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005423/0.3687, allocations: 479.9 kB / 456.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.3691, allocations: 69.78 kB / 457 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/0.3737, allocations: 3.161 MB / 460.1 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.3739, allocations: 190.8 kB / 460.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.374, allocations: 27.02 kB / 460.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.3742, allocations: 111.4 kB / 460.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3742, allocations: 0 / 460.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04318/0.4174, allocations: 8.962 MB / 469.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.19, allocations: 7.875 kB / 469.4 MB, free: 15.77 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_fmu --startTime=0 --stopTime=1 --stepSize=0.000199521 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.790162061108276] Failed to read output from testmodel.py, exit status != 0: ['time', 'Ideal.v', 'With_Ron_Goff.v', 'With_Ron_Goff_Vknee.v'] 13.36734298907686 13.394038019 13.046293767 Calling exit ...