Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 174.3 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 221.5 MB / 230.3 MB, free: 7.539 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008506/0.0008506, allocations: 92.39 kB / 281.2 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.693e-05/1.696e-05, allocations: 4 kB / 337 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09041/0.09045, allocations: 50.42 MB / 387.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3341/0.4246, allocations: 78.01 MB / 465.5 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4249, allocations: 75.95 kB / 465.5 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.4409, allocations: 6.48 MB / 472 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4409, allocations: 4 kB / 472 MB, free: 10.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.441, allocations: 8 kB / 472 MB, free: 10.26 MB / 346.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.0008376/0.4418, allocations: 0.6128 MB / 472.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4419, allocations: 8.031 kB / 472.7 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.522e-05/0.4419, allocations: 47.44 kB / 472.7 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.4423, allocations: 306.5 kB / 473 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.4423, allocations: 12 kB / 473 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.4424, allocations: 19.94 kB / 473 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004001/0.4428, allocations: 213.5 kB / 473.2 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.4433, allocations: 295.1 kB / 473.5 MB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4433, allocations: 0 / 473.5 MB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.4433, allocations: 0 / 473.5 MB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.4433, allocations: 8 kB / 473.5 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.4451, allocations: 1.364 MB / 474.9 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.4454, allocations: 202.5 kB / 475.1 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.4455, allocations: 84.86 kB / 475.2 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.4456, allocations: 4 kB / 475.2 MB, free: 6.902 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.4456, allocations: 34.56 kB / 475.2 MB, free: 6.859 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.4456, allocations: 0 / 475.2 MB, free: 6.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004169/0.446, allocations: 244.1 kB / 475.5 MB, free: 6.605 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.4461, allocations: 59.41 kB / 475.5 MB, free: 6.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.4463, allocations: 237.2 kB / 475.7 MB, free: 6.293 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.4463, allocations: 29.64 kB / 475.8 MB, free: 6.258 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.4465, allocations: 212.3 kB / 476 MB, free: 6.047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.4465, allocations: 70.92 kB / 476 MB, free: 5.977 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.4465, allocations: 0 / 476 MB, free: 5.977 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4466, allocations: 346.8 kB / 476.4 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.4468, allocations: 60 kB / 476.4 MB, free: 5.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.4469, allocations: 96.28 kB / 476.5 MB, free: 5.461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.447, allocations: 67.86 kB / 476.6 MB, free: 5.395 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.447, allocations: 0 / 476.6 MB, free: 5.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005516/0.4476, allocations: 307.6 kB / 476.9 MB, free: 5.078 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.4476, allocations: 4 kB / 476.9 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4476, allocations: 0 / 476.9 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/0.448, allocations: 114.5 kB / 477 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.4481, allocations: 36 kB / 477.1 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002976/0.4511, allocations: 4.275 MB / 481.3 MB, free: 300 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.4513, allocations: 27.92 kB / 481.4 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.4514, allocations: 7.938 kB / 481.4 MB, free: 264 kB / 346.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 () * 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 9.43e-05/0.4515, allocations: 114.7 kB / 481.5 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.4515, allocations: 31.62 kB / 481.5 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.4516, allocations: 30.09 kB / 481.5 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.4516, allocations: 7.953 kB / 481.5 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.4516, allocations: 0 / 481.5 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4516, allocations: 3.984 kB / 481.6 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.452, allocations: 317.9 kB / 481.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.452, allocations: 0 / 481.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.4521, allocations: 23.98 kB / 481.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000279/0.4524, allocations: 110.5 kB / 482 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4524, allocations: 0 / 482 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/0.4554, allocations: 4.268 MB / 486.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4554, allocations: 288 / 486.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.4558, allocations: 354.9 kB / 486.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.4559, allocations: 124.7 kB / 486.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.456, allocations: 3.938 kB / 486.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.4562, allocations: 19.98 kB / 486.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/0.4563, allocations: 24.05 kB / 486.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.4563, allocations: 15.98 kB / 486.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.4565, allocations: 188.6 kB / 487 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4565, allocations: 0 / 487 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006041/0.4571, allocations: 107.7 kB / 487.1 MB, free: 10.1 MB / 362.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 () * 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.0001261/0.4572, allocations: 99.25 kB / 487.2 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005808/0.4578, allocations: 0.5159 MB / 487.7 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4578, allocations: 4 kB / 487.7 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.4582, allocations: 425.2 kB / 488.1 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.4585, allocations: 40.77 kB / 488.2 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.4592, allocations: 393.6 kB / 488.5 MB, free: 8.562 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.4595, allocations: 0.8031 MB / 489.3 MB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.4597, allocations: 18.08 kB / 489.4 MB, free: 7.707 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.4597, allocations: 23.42 kB / 489.4 MB, free: 7.684 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4597, allocations: 0 / 489.4 MB, free: 7.684 MB / 362.7 MB Notification: Performance of Templates: time 0.007807/0.4675, allocations: 4.13 MB / 493.5 MB, free: 3.594 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches