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.001401/0.001401, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.001468/0.001468, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.54/1.54, allocations: 230.4 MB / 254.7 MB, free: 15 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.003172/0.003172, allocations: 56.09 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1437, allocations: 53.39 MB / 427.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.00606/0.1497, allocations: 3.532 MB / 430.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.152, allocations: 0.8529 MB / 431.5 MB, free: 204 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.1524, allocations: 11.94 kB / 431.5 MB, free: 192 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.1526, allocations: 67.3 kB / 431.5 MB, free: 124 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2794/0.432, allocations: 135.4 kB / 431.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007865/0.4328, allocations: 135.5 kB / 431.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008608/0.4336, allocations: 0.5106 MB / 432.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.4339, allocations: 100.3 kB / 432.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003961/0.4343, allocations: 200.6 kB / 432.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.4345, allocations: 214.9 kB / 432.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.425e-05/0.4346, allocations: 38.41 kB / 432.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.4347, allocations: 41.69 kB / 432.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.4348, allocations: 93.03 kB / 433 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.435, allocations: 221 kB / 433.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.4355, allocations: 0.4946 MB / 433.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4355, allocations: 4.188 kB / 433.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4355, allocations: 2.438 kB / 433.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.4355, allocations: 2.656 kB / 433.7 MB, free: 7.344 MB / 350.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.001092/0.4366, allocations: 0.7343 MB / 434.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4366, allocations: 9.594 kB / 434.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.251e-05/0.4367, allocations: 9.688 kB / 434.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.205e-05/0.4367, allocations: 70.3 kB / 434.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.4371, allocations: 79.38 kB / 434.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.4376, allocations: 328.4 kB / 434.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.4376, allocations: 25.41 kB / 434.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.4376, allocations: 31.44 kB / 435 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006392/0.4383, allocations: 359.8 kB / 435.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4383, allocations: 1.094 kB / 435.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.4383, allocations: 13.19 kB / 435.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.4384, allocations: 7.906 kB / 435.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005624/0.4389, allocations: 269.5 kB / 435.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.441, allocations: 1.413 MB / 437 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.4415, allocations: 204.4 kB / 437.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.4417, allocations: 101.6 kB / 437.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.4417, allocations: 2.891 kB / 437.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.4417, allocations: 40.78 kB / 437.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.525e-06/0.4417, allocations: 0 / 437.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001569/0.4433, allocations: 0.7008 MB / 438.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.4433, allocations: 54.75 kB / 438.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.4437, allocations: 309.5 kB / 438.4 MB, free: 5.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.4437, allocations: 30.55 kB / 438.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4438, allocations: 208.5 kB / 438.7 MB, free: 4.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.4439, allocations: 87.7 kB / 438.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/0.444, allocations: 54.83 kB / 438.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.444, allocations: 339.1 kB / 439.1 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.4442, allocations: 81.62 kB / 439.2 MB, free: 4.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.4444, allocations: 132.4 kB / 439.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.4448, allocations: 199.5 kB / 439.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4448, allocations: 1.281 kB / 439.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00072/0.4455, allocations: 358.2 kB / 439.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.4455, allocations: 5.656 kB / 439.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.4455, allocations: 1.828 kB / 439.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004559/0.446, allocations: 120.6 kB / 440 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.4462, allocations: 32.41 kB / 440 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003416/0.4496, allocations: 4.969 MB / 445 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.4499, allocations: 31.47 kB / 445 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.4499, allocations: 11.27 kB / 445 MB, free: 15.15 MB / 366.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.0002307/0.4501, allocations: 147.6 kB / 445.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.4502, allocations: 33.25 kB / 445.2 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.733e-05/0.4503, allocations: 43.59 kB / 445.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4503, allocations: 6.5 kB / 445.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4503, allocations: 0 / 445.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4503, allocations: 2.172 kB / 445.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005503/0.4508, allocations: 378.5 kB / 445.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.4509, allocations: 3.625 kB / 445.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.451, allocations: 20.64 kB / 445.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/0.4513, allocations: 113.2 kB / 445.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.4514, allocations: 9.906 kB / 445.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0048/0.4562, allocations: 4.967 MB / 450.8 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4562, allocations: 0.5938 kB / 450.8 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000806/0.457, allocations: 399.1 kB / 451.1 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.4572, allocations: 133.6 kB / 451.3 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.4572, allocations: 10.69 kB / 451.3 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.4575, allocations: 22.34 kB / 451.3 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.4576, allocations: 30.47 kB / 451.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.4576, allocations: 4.625 kB / 451.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003207/0.458, allocations: 225.1 kB / 451.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.458, allocations: 0 / 451.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008245/0.4588, allocations: 116.2 kB / 451.7 MB, free: 9.266 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.001178/0.46, allocations: 0.9339 MB / 452.6 MB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.4611, allocations: 0.5603 MB / 453.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4611, allocations: 0 / 453.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007145/0.4619, allocations: 487.5 kB / 453.6 MB, free: 7.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.4624, allocations: 61.17 kB / 453.7 MB, free: 7.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005604/0.468, allocations: 3.14 MB / 456.8 MB, free: 5.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/0.4686, allocations: 0.7948 MB / 457.6 MB, free: 4.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.4688, allocations: 26.11 kB / 457.7 MB, free: 4.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.469, allocations: 114.4 kB / 457.8 MB, free: 4.836 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.469, allocations: 0 / 457.8 MB, free: 4.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04212/0.5111, allocations: 8.82 MB / 466.6 MB, free: 2.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.57, allocations: 12.67 kB / 466.6 MB, free: 2.195 MB / 366.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.20078396203462] Failed to read output from testmodel.py, exit status != 0: ['time', 'Ideal.v', 'With_Ron_Goff.v', 'With_Ron_Goff_Vknee.v'] 12.723832671996206 12.744798261 12.306128088 Calling exit ...