Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 163 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 47.33 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1137, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005416/0.1191, allocations: 3.212 MB / 382.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.121, allocations: 0.8102 MB / 382.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003323/0.1213, allocations: 11.94 kB / 383 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.1216, allocations: 63.3 kB / 383 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.122, allocations: 142.8 kB / 383.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.1225, allocations: 127.8 kB / 383.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007771/0.1233, allocations: 0.5093 MB / 383.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.1235, allocations: 99.67 kB / 383.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.1239, allocations: 199.3 kB / 384.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.1242, allocations: 190.9 kB / 384.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.65e-05/0.1243, allocations: 40 kB / 384.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1244, allocations: 40 kB / 384.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.62e-05/0.1245, allocations: 95.67 kB / 384.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.1248, allocations: 183.1 kB / 384.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006673/0.1254, allocations: 0.5018 MB / 385.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1254, allocations: 0 / 385.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1254, allocations: 3.938 kB / 385.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1254, allocations: 4 kB / 385.1 MB, free: 9.453 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.001309/0.1268, allocations: 0.6567 MB / 385.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1268, allocations: 8.031 kB / 385.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.1272, allocations: 80.58 kB / 385.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005649/0.1277, allocations: 278.3 kB / 386.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.1278, allocations: 21.03 kB / 386.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.1278, allocations: 32.38 kB / 386.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.1285, allocations: 432.2 kB / 386.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1285, allocations: 7.938 kB / 386.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.1286, allocations: 16 kB / 386.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1286, allocations: 8 kB / 386.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.1291, allocations: 266.5 kB / 386.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.1312, allocations: 1.226 MB / 388.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/0.1317, allocations: 206.3 kB / 388.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.1319, allocations: 96.81 kB / 388.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1319, allocations: 0 / 388.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.1319, allocations: 38.56 kB / 388.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.162e-06/0.1319, allocations: 0 / 388.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001497/0.1334, allocations: 483 kB / 388.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1335, allocations: 55.41 kB / 389 MB, free: 5.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.1338, allocations: 296.5 kB / 389.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.1338, allocations: 33.7 kB / 389.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.134, allocations: 220.4 kB / 389.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.632e-05/0.1341, allocations: 71.34 kB / 389.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/0.1342, allocations: 45.7 kB / 389.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1343, allocations: 346.8 kB / 390 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.1346, allocations: 83.97 kB / 390.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.1348, allocations: 124.2 kB / 390.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.1352, allocations: 204.1 kB / 390.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1352, allocations: 0 / 390.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007702/0.136, allocations: 359.7 kB / 390.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.136, allocations: 7.938 kB / 390.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.136, allocations: 0 / 390.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004326/0.1364, allocations: 114.5 kB / 390.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.1366, allocations: 39.98 kB / 390.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004504/0.1411, allocations: 4.58 MB / 395.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.1414, allocations: 23.84 kB / 395.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.1414, allocations: 15.98 kB / 395.5 MB, free: 14.44 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.0002042/0.1416, allocations: 145.8 kB / 395.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.1417, allocations: 31.81 kB / 395.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.78e-05/0.1417, allocations: 39.17 kB / 395.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.1417, allocations: 7.938 kB / 395.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1417, allocations: 0 / 395.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1417, allocations: 4.062 kB / 395.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.1421, allocations: 261.1 kB / 396 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1421, allocations: 0 / 396 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.1423, allocations: 19.98 kB / 396 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003533/0.1426, allocations: 114.4 kB / 396.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.1426, allocations: 7.984 kB / 396.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004367/0.147, allocations: 4.582 MB / 400.7 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.147, allocations: 3.984 kB / 400.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/0.1477, allocations: 393.9 kB / 401.1 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.1478, allocations: 51.72 kB / 401.2 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1479, allocations: 4 kB / 401.2 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.1481, allocations: 23.92 kB / 401.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.1482, allocations: 27.95 kB / 401.2 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.1482, allocations: 11.92 kB / 401.2 MB, free: 8.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002462/0.1485, allocations: 207.1 kB / 401.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1485, allocations: 0 / 401.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007135/0.1492, allocations: 123.7 kB / 401.5 MB, free: 8.039 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.0001364/0.1493, allocations: 103.2 kB / 401.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.1504, allocations: 0.5653 MB / 402.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1504, allocations: 384 / 402.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005999/0.151, allocations: 467.8 kB / 402.7 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.1514, allocations: 56.28 kB / 402.7 MB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1527, allocations: 0.6418 MB / 403.4 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1529, allocations: 190.8 kB / 403.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.439e-05/0.153, allocations: 22.28 kB / 403.6 MB, free: 5.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.1531, allocations: 28.48 kB / 403.6 MB, free: 5.848 MB / 366.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1531, allocations: 0 / 403.6 MB, free: 5.848 MB / 366.1 MB Notification: Performance of Templates: time 0.011/0.1641, allocations: 4.906 MB / 408.5 MB, free: 1.008 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.442434448981658]