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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 75.19 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 150.1 kB / 24.49 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] 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) 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=5012,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=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 47.42 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1031, allocations: 52.17 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004682/0.1078, allocations: 3.183 MB / 374.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.109, allocations: 0.7322 MB / 375.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.1091, allocations: 11.94 kB / 375.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.1093, allocations: 59.36 kB / 375.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.1096, allocations: 138.8 kB / 375.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1099, allocations: 111.8 kB / 375.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005482/0.1104, allocations: 0.5016 MB / 376.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.1106, allocations: 87.69 kB / 376.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.1109, allocations: 199.3 kB / 376.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.1112, allocations: 183.1 kB / 376.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.776e-05/0.1112, allocations: 40 kB / 376.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.1113, allocations: 43.94 kB / 376.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1114, allocations: 95.62 kB / 376.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.1116, allocations: 175.2 kB / 377.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005389/0.1122, allocations: 0.4902 MB / 377.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1122, allocations: 4 kB / 377.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1122, allocations: 0 / 377.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1122, allocations: 0 / 377.6 MB, free: 1.273 MB / 334.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.1133, allocations: 0.6489 MB / 378.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1134, allocations: 8.031 kB / 378.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.469e-05/0.1134, allocations: 52.61 kB / 378.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.1139, allocations: 270.3 kB / 378.6 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.1139, allocations: 24.97 kB / 378.6 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.1139, allocations: 32.38 kB / 378.6 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/0.1146, allocations: 432.2 kB / 379.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1147, allocations: 0 / 379.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.1147, allocations: 16 kB / 379.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1147, allocations: 8 kB / 379.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005822/0.1153, allocations: 270.4 kB / 379.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.1172, allocations: 1.218 MB / 380.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.1176, allocations: 194.5 kB / 380.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.1178, allocations: 104.8 kB / 380.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1178, allocations: 4 kB / 380.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.1179, allocations: 38.55 kB / 380.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.302e-06/0.1179, allocations: 0 / 380.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001472/0.1193, allocations: 478.7 kB / 381.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.1194, allocations: 59.41 kB / 381.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.1197, allocations: 288.5 kB / 381.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1197, allocations: 29.7 kB / 381.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1199, allocations: 216.3 kB / 381.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/0.1199, allocations: 87.25 kB / 382 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.842e-05/0.12, allocations: 53.7 kB / 382.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1202, allocations: 334.8 kB / 382.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.1204, allocations: 87.95 kB / 382.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.1206, allocations: 128.2 kB / 382.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.121, allocations: 192.2 kB / 382.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.121, allocations: 0 / 382.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007895/0.1218, allocations: 355.7 kB / 383.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1218, allocations: 10.81 kB / 383.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1218, allocations: 0 / 383.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.1222, allocations: 118.4 kB / 383.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.1224, allocations: 35.91 kB / 383.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004149/0.1266, allocations: 4.588 MB / 387.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.1268, allocations: 27.91 kB / 387.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.1268, allocations: 12 kB / 387.9 MB, free: 6.316 MB / 350.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.0001798/0.127, allocations: 150 kB / 388.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.127, allocations: 31.91 kB / 388.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.1271, allocations: 42.39 kB / 388.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1271, allocations: 3.938 kB / 388.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1271, allocations: 0 / 388.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1271, allocations: 3.984 kB / 388.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.1275, allocations: 261.1 kB / 388.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1275, allocations: 0 / 388.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1276, allocations: 19.98 kB / 388.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003267/0.1279, allocations: 118.4 kB / 388.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.1279, allocations: 8 kB / 388.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003907/0.1318, allocations: 4.569 MB / 393.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1318, allocations: 0 / 393.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/0.1325, allocations: 389.7 kB / 393.5 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.1326, allocations: 51.72 kB / 393.6 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.1326, allocations: 4 kB / 393.6 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.1329, allocations: 32.03 kB / 393.6 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/0.1329, allocations: 27.95 kB / 393.6 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1329, allocations: 4 kB / 393.6 MB, free: 256 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.1332, allocations: 203.1 kB / 393.8 MB, free: 56 kB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1332, allocations: 288 / 393.8 MB, free: 56 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006821/0.1338, allocations: 115.8 kB / 394 MB, free: 15.94 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.0001218/0.134, allocations: 111.1 kB / 394.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009195/0.1349, allocations: 0.5686 MB / 394.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1349, allocations: 0 / 394.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.1354, allocations: 479.8 kB / 395.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.1358, allocations: 40.62 kB / 395.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.137, allocations: 0.6415 MB / 395.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.1372, allocations: 186.8 kB / 396 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.088e-05/0.1373, allocations: 26.33 kB / 396 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.1374, allocations: 20.48 kB / 396 MB, free: 13.75 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1374, allocations: 3.938 kB / 396 MB, free: 13.75 MB / 366.1 MB Notification: Performance of Templates: time 0.01022/0.1476, allocations: 4.897 MB / 400.9 MB, free: 8.918 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.491610529017635]