Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009196/0.0009195, allocations: 94.64 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008793/0.0008794, allocations: 182.4 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 224 MB, free: 13.02 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005446/0.0005447, allocations: 16 kB / 280.7 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1191, allocations: 47.57 MB / 328.3 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.003107/0.1222, allocations: 2.763 MB / 331.1 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1234, allocations: 0.7924 MB / 331.9 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.1235, allocations: 8 kB / 331.9 MB, free: 500 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.916e-05/0.1236, allocations: 43.61 kB / 331.9 MB, free: 456 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.1239, allocations: 163.5 kB / 332.1 MB, free: 292 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1242, allocations: 75.91 kB / 332.2 MB, free: 216 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.1247, allocations: 347.2 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000301/0.125, allocations: 106.5 kB / 332.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.1252, allocations: 167.3 kB / 332.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.1255, allocations: 179.2 kB / 332.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.1255, allocations: 20 kB / 333 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.352e-05/0.1256, allocations: 20 kB / 333 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.297e-05/0.1257, allocations: 67.69 kB / 333 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.891e-05/0.1258, allocations: 97.52 kB / 333.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.1261, allocations: 355 kB / 333.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1261, allocations: 0 / 333.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1261, allocations: 0 / 333.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1261, allocations: 0 / 333.5 MB, free: 14.87 MB / 286.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.1273, allocations: 0.6583 MB / 334.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.1273, allocations: 15.95 kB / 334.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.268e-05/0.1274, allocations: 47.44 kB / 334.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.1278, allocations: 294.2 kB / 334.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.1279, allocations: 28.61 kB / 334.5 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.1279, allocations: 32 kB / 334.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005908/0.1285, allocations: 362.7 kB / 334.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1285, allocations: 0 / 334.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.1286, allocations: 12 kB / 334.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1286, allocations: 8 kB / 334.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/0.1291, allocations: 282.4 kB / 335.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.1309, allocations: 1.43 MB / 336.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.1314, allocations: 234.1 kB / 336.9 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1314, allocations: 4 kB / 336.9 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1315, allocations: 30.56 kB / 336.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.1315, allocations: 4 kB / 336.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001446/0.1329, allocations: 0.7069 MB / 337.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.133, allocations: 63.22 kB / 337.7 MB, free: 10.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.1333, allocations: 300.6 kB / 338 MB, free: 10.08 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1333, allocations: 33.64 kB / 338 MB, free: 10.04 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1335, allocations: 216.1 kB / 338.2 MB, free: 9.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.1335, allocations: 71 kB / 338.3 MB, free: 9.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.1336, allocations: 8 kB / 338.3 MB, free: 9.742 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1337, allocations: 342.8 kB / 338.6 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.1339, allocations: 83.95 kB / 338.7 MB, free: 9.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.1341, allocations: 128.2 kB / 338.8 MB, free: 9.176 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.1343, allocations: 83.98 kB / 338.9 MB, free: 9.094 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.1343, allocations: 7.938 kB / 338.9 MB, free: 9.086 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007097/0.135, allocations: 371.5 kB / 339.3 MB, free: 8.707 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1351, allocations: 12.05 kB / 339.3 MB, free: 8.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1351, allocations: 3.938 kB / 339.3 MB, free: 8.691 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003991/0.1355, allocations: 118.5 kB / 339.4 MB, free: 8.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.1357, allocations: 27.98 kB / 339.4 MB, free: 8.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003361/0.139, allocations: 4.488 MB / 343.9 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.1392, allocations: 23.84 kB / 343.9 MB, free: 3.625 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.1393, allocations: 8 kB / 344 MB, free: 3.617 MB / 286.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.0001703/0.1394, allocations: 158.2 kB / 344.1 MB, free: 3.453 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.1395, allocations: 31.62 kB / 344.1 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.1396, allocations: 39.17 kB / 344.2 MB, free: 3.383 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1396, allocations: 7.984 kB / 344.2 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1396, allocations: 0 / 344.2 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1396, allocations: 0 / 344.2 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.14, allocations: 381.2 kB / 344.6 MB, free: 2.953 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.14, allocations: 0 / 344.6 MB, free: 2.953 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.1401, allocations: 24.11 kB / 344.6 MB, free: 2.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/0.1404, allocations: 122.4 kB / 344.7 MB, free: 2.801 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1404, allocations: 0 / 344.7 MB, free: 2.801 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003229/0.1437, allocations: 4.473 MB / 349.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1437, allocations: 0 / 349.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.1443, allocations: 421.6 kB / 349.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.1444, allocations: 128.6 kB / 349.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.1445, allocations: 7.984 kB / 349.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.1447, allocations: 27.98 kB / 349.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.1448, allocations: 23.91 kB / 349.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1448, allocations: 8.281 kB / 349.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.145, allocations: 223 kB / 350 MB, free: 13.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.145, allocations: 0 / 350 MB, free: 13.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006324/0.1457, allocations: 115.6 kB / 350.1 MB, free: 12.95 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.000146/0.1458, allocations: 111.2 kB / 350.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008465/0.1467, allocations: 0.5741 MB / 350.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1467, allocations: 0 / 350.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.1472, allocations: 495.8 kB / 351.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1476, allocations: 53.02 kB / 351.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1486, allocations: 0.7664 MB / 352.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.149, allocations: 0.7995 MB / 352.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.1491, allocations: 31.14 kB / 352.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.1491, allocations: 19.44 kB / 352.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1492, allocations: 0 / 352.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of Templates: time 0.008315/0.1575, allocations: 4.68 MB / 357.6 MB, free: 5.293 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches