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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001009, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 227.2 MB / 245 MB, free: 7.66 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008689/0.0008688, allocations: 105.4 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002009/0.000201, allocations: 12 kB / 358 MB, free: 9.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1811, allocations: 51.5 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08767/0.2688, allocations: 79.55 MB / 489.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.2691, allocations: 76.5 kB / 489.1 MB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01626/0.2854, allocations: 6.602 MB / 495.7 MB, free: 4.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2854, allocations: 0 / 495.7 MB, free: 4.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.2854, allocations: 8 kB / 495.7 MB, free: 4.332 MB / 362.7 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.0009642/0.2864, allocations: 0.6622 MB / 496.4 MB, free: 3.621 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2864, allocations: 12.03 kB / 496.4 MB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.484e-05/0.2865, allocations: 66.53 kB / 496.5 MB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002991/0.2868, allocations: 83.41 kB / 496.6 MB, free: 3.453 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.2872, allocations: 302.5 kB / 496.9 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.2872, allocations: 28.66 kB / 496.9 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.2873, allocations: 28 kB / 496.9 MB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005791/0.2879, allocations: 358.7 kB / 497.3 MB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2879, allocations: 4 kB / 497.3 MB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.2879, allocations: 8 kB / 497.3 MB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.2879, allocations: 8 kB / 497.3 MB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.2885, allocations: 286.4 kB / 497.6 MB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.2904, allocations: 1.43 MB / 499 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.2908, allocations: 227.5 kB / 499.2 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.2908, allocations: 11.88 kB / 499.2 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.2908, allocations: 38.56 kB / 499.3 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.2908, allocations: 0 / 499.3 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001416/0.2923, allocations: 0.7113 MB / 500 MB, free: 15.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.2923, allocations: 63.39 kB / 0.4883 GB, free: 15.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.2926, allocations: 267.7 kB / 0.4886 GB, free: 15.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.2926, allocations: 29.7 kB / 0.4886 GB, free: 15.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2928, allocations: 212.1 kB / 0.4888 GB, free: 15.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.2928, allocations: 74.91 kB / 0.4889 GB, free: 15.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.2928, allocations: 0 / 0.4889 GB, free: 15.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.293, allocations: 346.8 kB / 0.4892 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.2932, allocations: 87.91 kB / 0.4893 GB, free: 14.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.2934, allocations: 128.2 kB / 0.4894 GB, free: 14.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.2936, allocations: 87.98 kB / 0.4895 GB, free: 14.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2936, allocations: 0 / 0.4895 GB, free: 14.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007371/0.2943, allocations: 379.5 kB / 0.4899 GB, free: 14.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2944, allocations: 4 kB / 0.4899 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2944, allocations: 3.984 kB / 0.4899 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003934/0.2948, allocations: 122.5 kB / 0.49 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.295, allocations: 35.97 kB / 0.49 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003496/0.2985, allocations: 4.473 MB / 0.4944 GB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.2987, allocations: 31.78 kB / 0.4944 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.2987, allocations: 8 kB / 0.4944 GB, free: 9 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.2989, allocations: 145.8 kB / 0.4946 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.2989, allocations: 31.62 kB / 0.4946 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.411e-05/0.299, allocations: 39.17 kB / 0.4946 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.299, allocations: 8.062 kB / 0.4946 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.299, allocations: 0 / 0.4946 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.299, allocations: 4.359 kB / 0.4946 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.2994, allocations: 377.2 kB / 0.495 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2995, allocations: 0 / 0.495 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.2996, allocations: 23.97 kB / 0.495 GB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003052/0.2999, allocations: 122.4 kB / 0.4951 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.2999, allocations: 4 kB / 0.4951 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003271/0.3032, allocations: 4.477 MB / 0.4995 GB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3032, allocations: 0 / 0.4995 GB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005719/0.3038, allocations: 425.4 kB / 0.4999 GB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.3039, allocations: 124.6 kB / 0.5 GB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.304, allocations: 8 kB / 0.5 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.3042, allocations: 27.97 kB / 0.5001 GB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.3043, allocations: 23.91 kB / 0.5001 GB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.3043, allocations: 12 kB / 0.5001 GB, free: 2.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001906/0.3045, allocations: 219.1 kB / 0.5003 GB, free: 2.445 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3045, allocations: 0 / 0.5003 GB, free: 2.445 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005902/0.3051, allocations: 119.7 kB / 0.5004 GB, free: 2.328 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008518/0.306, allocations: 0.9487 MB / 0.5014 GB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007982/0.3068, allocations: 0.5713 MB / 0.5019 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3068, allocations: 192 / 0.5019 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004811/0.3073, allocations: 495.6 kB / 0.5024 GB, free: 212 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3076, allocations: 57 kB / 0.5024 GB, free: 152 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1434/0.451, allocations: 2.499 MB / 0.5049 GB, free: 93.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.4513, allocations: 0.8061 MB / 0.5057 GB, free: 93.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.4514, allocations: 25.09 kB / 0.5057 GB, free: 93.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.4515, allocations: 108.2 kB / 0.5058 GB, free: 93.08 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4515, allocations: 0 / 0.5058 GB, free: 93.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.4701, allocations: 7.575 MB / 0.5132 GB, free: 92.2 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001358/0.4703, allocations: 222.5 kB / 0.5134 GB, free: 91.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.374, allocations: 0 / 0.5134 GB, free: 91.96 MB / 378.7 MB (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/linux/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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat does not exist to compare? outputFormat=mat