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.001968/0.001968, allocations: 120.8 kB / 18.45 MB, free: 4.461 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.002178/0.002178, allocations: 205 kB / 21.41 MB, free: 1.516 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.602/1.602, allocations: 227.4 MB / 251.6 MB, free: 56 kB / 190.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: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,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=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001936, allocations: 67.88 kB / 365.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1176, allocations: 50.56 MB / 416.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004945/0.1226, allocations: 3.514 MB / 419.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1242, allocations: 0.8452 MB / 420.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.1244, allocations: 7.938 kB / 420.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.1247, allocations: 71.3 kB / 420.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.125, allocations: 134.8 kB / 420.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.1253, allocations: 127.8 kB / 420.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.1259, allocations: 0.521 MB / 421.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.1262, allocations: 139.2 kB / 421.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.1265, allocations: 191.3 kB / 421.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.1267, allocations: 215 kB / 421.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.443e-05/0.1268, allocations: 40 kB / 421.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1269, allocations: 40 kB / 421.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.806e-05/0.127, allocations: 95.66 kB / 422 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.1273, allocations: 222.8 kB / 422.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005502/0.1278, allocations: 0.494 MB / 422.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1278, allocations: 0 / 422.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1278, allocations: 0 / 422.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1279, allocations: 4 kB / 422.7 MB, free: 6.484 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.001225/0.1291, allocations: 0.732 MB / 423.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1291, allocations: 12.03 kB / 423.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.1295, allocations: 84.58 kB / 423.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.13, allocations: 323.5 kB / 423.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.13, allocations: 25.03 kB / 423.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.1301, allocations: 28.38 kB / 423.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006291/0.1307, allocations: 363.1 kB / 424.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1307, allocations: 3.938 kB / 424.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.1308, allocations: 12 kB / 424.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1308, allocations: 8 kB / 424.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.1314, allocations: 266.4 kB / 424.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.1334, allocations: 1.415 MB / 425.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.1338, allocations: 230.4 kB / 426.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.134, allocations: 109.2 kB / 426.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1341, allocations: 0 / 426.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1341, allocations: 46.41 kB / 426.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.132e-06/0.1341, allocations: 0 / 426.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001559/0.1357, allocations: 0.702 MB / 427 MB, free: 1.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1357, allocations: 55.41 kB / 427.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.1361, allocations: 312.6 kB / 427.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.1361, allocations: 29.7 kB / 427.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.1363, allocations: 216.5 kB / 427.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.685e-05/0.1364, allocations: 79.33 kB / 427.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/0.1365, allocations: 49.66 kB / 427.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1366, allocations: 342.8 kB / 428.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.1368, allocations: 83.91 kB / 428.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.1371, allocations: 136.2 kB / 428.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/0.1375, allocations: 200 kB / 428.5 MB, free: 316 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1375, allocations: 4 kB / 428.5 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007403/0.1382, allocations: 355.7 kB / 428.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1383, allocations: 4 kB / 428.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1383, allocations: 4 kB / 428.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004152/0.1387, allocations: 114.6 kB / 429 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.1389, allocations: 35.91 kB / 429 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004168/0.1431, allocations: 4.971 MB / 434 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.1433, allocations: 23.84 kB / 434 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.1433, allocations: 8 kB / 434 MB, free: 10.36 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.0001829/0.1435, allocations: 153.9 kB / 434.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.1436, allocations: 39.75 kB / 434.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.943e-05/0.1437, allocations: 39.17 kB / 434.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1437, allocations: 0 / 434.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1437, allocations: 0 / 434.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1437, allocations: 0 / 434.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.1441, allocations: 381.5 kB / 434.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1442, allocations: 0 / 434.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.1443, allocations: 23.92 kB / 434.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003328/0.1446, allocations: 122.4 kB / 434.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1447, allocations: 0 / 434.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/0.1487, allocations: 4.975 MB / 439.7 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1488, allocations: 0 / 439.7 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.1494, allocations: 410.4 kB / 440.1 MB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.1496, allocations: 128.8 kB / 440.2 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.1496, allocations: 8 kB / 440.2 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.1498, allocations: 20.08 kB / 440.3 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.1499, allocations: 31.88 kB / 440.3 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.15, allocations: 15.94 kB / 440.3 MB, free: 3.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002537/0.1502, allocations: 223.1 kB / 440.5 MB, free: 3.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1502, allocations: 0 / 440.5 MB, free: 3.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006746/0.1509, allocations: 115.8 kB / 440.6 MB, free: 3.176 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.0001427/0.1511, allocations: 99.25 kB / 440.7 MB, free: 3.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009352/0.152, allocations: 0.5738 MB / 441.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.152, allocations: 0 / 441.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005738/0.1526, allocations: 491.9 kB / 441.8 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.153, allocations: 57.95 kB / 441.8 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.1542, allocations: 0.6382 MB / 442.5 MB, free: 1.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.1546, allocations: 0.7914 MB / 443.3 MB, free: 416 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.1547, allocations: 30.95 kB / 443.3 MB, free: 384 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.1548, allocations: 23.44 kB / 443.3 MB, free: 360 kB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1548, allocations: 0 / 443.3 MB, free: 360 kB / 366.1 MB Notification: Performance of Templates: time 0.2344/0.3892, allocations: 5.45 MB / 448.8 MB, free: 28.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.245747329667211]