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) 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) 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: 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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, allocations: 97.83 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001649/0.001649, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002602, allocations: 8 kB / 306.6 MB, free: 1.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1415, allocations: 51.49 MB / 358.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.00354/0.1451, allocations: 2.814 MB / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1466, allocations: 0.8031 MB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.1468, allocations: 4 kB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.904e-05/0.1469, allocations: 47.61 kB / 361.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.1472, allocations: 171.5 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.1475, allocations: 75.91 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.148, allocations: 339.3 kB / 362.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.1483, allocations: 110.6 kB / 362.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.1486, allocations: 167.3 kB / 362.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.1488, allocations: 183.2 kB / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.1489, allocations: 24 kB / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-05/0.149, allocations: 27.94 kB / 362.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.951e-05/0.1491, allocations: 71.67 kB / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.171e-05/0.1491, allocations: 97.52 kB / 363 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.1495, allocations: 343 kB / 363.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1495, allocations: 4 kB / 363.3 MB, free: 8.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1495, allocations: 0 / 363.3 MB, free: 8.664 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1496, allocations: 0 / 363.3 MB, free: 8.664 MB / 302.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.00114/0.1507, allocations: 0.6661 MB / 364 MB, free: 7.949 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.1508, allocations: 12.03 kB / 364 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003676/0.1511, allocations: 79.41 kB / 364.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.1515, allocations: 302.2 kB / 364.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.1516, allocations: 28.66 kB / 364.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.1516, allocations: 28 kB / 364.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006647/0.1523, allocations: 358.7 kB / 364.8 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1523, allocations: 0 / 364.8 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.1524, allocations: 12 kB / 364.8 MB, free: 7.098 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1524, allocations: 8 kB / 364.8 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.1529, allocations: 282.4 kB / 365.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.1549, allocations: 1.434 MB / 366.5 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.1554, allocations: 240.7 kB / 366.7 MB, free: 5.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1554, allocations: 0 / 366.7 MB, free: 5.035 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1554, allocations: 34.56 kB / 366.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.092e-06/0.1554, allocations: 3.938 kB / 366.8 MB, free: 4.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001563/0.157, allocations: 0.7136 MB / 367.5 MB, free: 4.207 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.1571, allocations: 51.41 kB / 367.5 MB, free: 4.145 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.1574, allocations: 304.6 kB / 367.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.1575, allocations: 25.7 kB / 367.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.1576, allocations: 212.1 kB / 368.1 MB, free: 3.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.1577, allocations: 78.89 kB / 368.1 MB, free: 3.516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.1577, allocations: 11.94 kB / 368.1 MB, free: 3.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1579, allocations: 338.8 kB / 368.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.1581, allocations: 87.95 kB / 368.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.1583, allocations: 128.2 kB / 368.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.1585, allocations: 99.84 kB / 368.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1585, allocations: 0 / 368.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007276/0.1592, allocations: 363.6 kB / 369.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1593, allocations: 7.938 kB / 369.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1593, allocations: 4 kB / 369.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003989/0.1597, allocations: 118.6 kB / 369.3 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.1599, allocations: 35.97 kB / 369.3 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2722/0.4321, allocations: 4.474 MB / 373.8 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.4324, allocations: 25.36 kB / 373.8 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.4324, allocations: 9.984 kB / 373.8 MB, free: 16.77 MB / 302.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 (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.0001748/0.4326, allocations: 149.6 kB / 374 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.4327, allocations: 34.41 kB / 374 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.4328, allocations: 38.36 kB / 374 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.4328, allocations: 3.344 kB / 374 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4328, allocations: 0 / 374 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4328, allocations: 4.641 kB / 374 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.4332, allocations: 378.3 kB / 374.4 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4332, allocations: 3.781 kB / 374.4 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.4334, allocations: 25.5 kB / 374.4 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000346/0.4337, allocations: 110.7 kB / 374.5 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.4338, allocations: 4.875 kB / 374.5 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/0.4367, allocations: 4.481 MB / 379 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4367, allocations: 0.75 kB / 379 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006763/0.4374, allocations: 416.7 kB / 379.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.4376, allocations: 127.2 kB / 379.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.4376, allocations: 9 kB / 379.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.4378, allocations: 24.34 kB / 379.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.431e-05/0.4379, allocations: 25.11 kB / 379.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.438, allocations: 6.438 kB / 379.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002402/0.4382, allocations: 217.6 kB / 379.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4382, allocations: 0 / 379.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007366/0.439, allocations: 114.4 kB / 379.9 MB, free: 12.07 MB / 302.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 (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.0001341/0.4391, allocations: 108.8 kB / 380.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008887/0.44, allocations: 0.578 MB / 380.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.44, allocations: 0.5312 kB / 380.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.4405, allocations: 485.2 kB / 381.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.4409, allocations: 60.81 kB / 381.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.4421, allocations: 0.7608 MB / 381.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.4424, allocations: 0.8032 MB / 382.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.4425, allocations: 27.61 kB / 382.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.4426, allocations: 19.52 kB / 382.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4426, allocations: 0 / 382.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of Templates: time 0.01054/0.4531, allocations: 4.698 MB / 387.5 MB, free: 9.746 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches