Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001187/0.001187, allocations: 105 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.001261/0.001261, allocations: 218.4 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.304/1.304, allocations: 230.4 MB / 256.4 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001777/0.001777, allocations: 67.84 kB / 376.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2202, allocations: 53.32 MB / 429.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004312/0.2245, allocations: 3.533 MB / 432.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2257, allocations: 0.8578 MB / 433.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.2258, allocations: 7.938 kB / 433.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.226, allocations: 75.28 kB / 433.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.2262, allocations: 134.8 kB / 434 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.2265, allocations: 123.8 kB / 434.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005/0.227, allocations: 0.5172 MB / 434.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.2272, allocations: 95.28 kB / 434.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.2275, allocations: 195.3 kB / 434.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.2277, allocations: 207 kB / 435.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.666e-05/0.2278, allocations: 40 kB / 435.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.2279, allocations: 44 kB / 435.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.645e-05/0.2279, allocations: 95.66 kB / 435.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.2281, allocations: 226.8 kB / 435.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.2286, allocations: 0.4934 MB / 436 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2286, allocations: 0 / 436 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2286, allocations: 0 / 436 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.2286, allocations: 0 / 436 MB, free: 0.7773 MB / 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.001077/0.2297, allocations: 0.7398 MB / 436.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2297, allocations: 8.031 kB / 436.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.607e-05/0.2298, allocations: 78.66 kB / 436.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003133/0.2301, allocations: 80.58 kB / 436.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.2305, allocations: 323.5 kB / 437.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.2305, allocations: 25.03 kB / 437.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.2306, allocations: 28.38 kB / 437.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.2312, allocations: 366.8 kB / 437.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2312, allocations: 0 / 437.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.2312, allocations: 12 kB / 437.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.2312, allocations: 8 kB / 437.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.2317, allocations: 270.4 kB / 437.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.2336, allocations: 1.419 MB / 439.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.234, allocations: 206.4 kB / 439.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.2342, allocations: 97.22 kB / 439.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.2342, allocations: 4 kB / 439.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2342, allocations: 34.42 kB / 439.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.182e-06/0.2342, allocations: 0 / 439.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001451/0.2357, allocations: 0.7014 MB / 440.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.2357, allocations: 59.41 kB / 440.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.236, allocations: 308.6 kB / 440.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.236, allocations: 33.7 kB / 440.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.2362, allocations: 216.4 kB / 441 MB, free: 11.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.423e-05/0.2362, allocations: 83.33 kB / 441.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.2363, allocations: 53.66 kB / 441.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2365, allocations: 342.8 kB / 441.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.2366, allocations: 75.97 kB / 441.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.2369, allocations: 132.2 kB / 441.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.2372, allocations: 196.1 kB / 441.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2372, allocations: 0 / 441.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006828/0.2379, allocations: 355.7 kB / 442.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2379, allocations: 6.812 kB / 442.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2379, allocations: 4 kB / 442.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003928/0.2383, allocations: 114.6 kB / 442.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.2385, allocations: 40.12 kB / 442.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003811/0.2423, allocations: 4.976 MB / 447.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.2425, allocations: 31.83 kB / 447.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.2425, allocations: 7.938 kB / 447.4 MB, free: 4.598 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.0001517/0.2427, allocations: 153.8 kB / 447.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.2427, allocations: 39.81 kB / 447.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.496e-05/0.2428, allocations: 35.17 kB / 447.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.2428, allocations: 0 / 447.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.2428, allocations: 0 / 447.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2428, allocations: 0 / 447.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.2432, allocations: 385.2 kB / 448 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2432, allocations: 0 / 448 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.2433, allocations: 23.92 kB / 448 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003016/0.2436, allocations: 114.5 kB / 448.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.2436, allocations: 7.938 kB / 448.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003726/0.2473, allocations: 4.968 MB / 453.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2474, allocations: 0 / 453.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.2479, allocations: 401.7 kB / 453.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.248, allocations: 128.8 kB / 453.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.2481, allocations: 4 kB / 453.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2483, allocations: 23.92 kB / 453.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/0.2484, allocations: 31.89 kB / 453.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.2484, allocations: 12 kB / 453.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002163/0.2486, allocations: 219.1 kB / 453.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2486, allocations: 0 / 453.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005792/0.2492, allocations: 115.8 kB / 454 MB, free: 13.44 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.0008721/0.2501, allocations: 0.9363 MB / 454.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008415/0.2509, allocations: 0.5611 MB / 455.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2509, allocations: 0 / 455.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005129/0.2514, allocations: 475.8 kB / 456 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.2518, allocations: 72.53 kB / 456 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.2558, allocations: 3.151 MB / 459.2 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.2562, allocations: 0.7953 MB / 460 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.848e-05/0.2563, allocations: 22.97 kB / 460 MB, free: 7.191 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.2564, allocations: 107.4 kB / 460.1 MB, free: 7.086 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2564, allocations: 0 / 460.1 MB, free: 7.086 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04111/0.2975, allocations: 8.809 MB / 468.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.95, allocations: 3.375 kB / 468.9 MB, free: 14.45 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.094319069001358]