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.001446/0.001446, allocations: 122 kB / 18.45 MB, free: 4.473 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.001511/0.001511, allocations: 189.2 kB / 21.4 MB, free: 1.535 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.404/1.404, allocations: 225.6 MB / 249.8 MB, free: 3.59 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.001526/0.001526, allocations: 51.91 kB / 366.8 MB, free: 396 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09951/0.101, allocations: 52.14 MB / 419 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005034/0.1061, allocations: 3.497 MB / 422.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1077, allocations: 0.7517 MB / 423.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.1079, allocations: 4 kB / 423.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.1081, allocations: 75.23 kB / 423.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.1083, allocations: 138.8 kB / 423.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.1086, allocations: 103.9 kB / 423.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000557/0.1092, allocations: 0.5016 MB / 424 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.1095, allocations: 99.3 kB / 424.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.1097, allocations: 199.2 kB / 424.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.11, allocations: 207.1 kB / 424.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.936e-05/0.1101, allocations: 40 kB / 424.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-05/0.1101, allocations: 36 kB / 424.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.1102, allocations: 91.62 kB / 424.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.1104, allocations: 222.9 kB / 424.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00053/0.111, allocations: 493.9 kB / 425.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.111, allocations: 0 / 425.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.111, allocations: 0 / 425.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.111, allocations: 4 kB / 425.4 MB, free: 5.688 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.001189/0.1122, allocations: 0.7282 MB / 426.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1122, allocations: 15.89 kB / 426.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.939e-05/0.1123, allocations: 52.61 kB / 426.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.1127, allocations: 315.5 kB / 426.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.1128, allocations: 25.03 kB / 426.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.1128, allocations: 28.38 kB / 426.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.1135, allocations: 367 kB / 426.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1135, allocations: 0 / 426.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.1135, allocations: 12 kB / 426.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1135, allocations: 8 kB / 426.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005627/0.1141, allocations: 274.4 kB / 427.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.1161, allocations: 1.407 MB / 428.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.1165, allocations: 200.6 kB / 428.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.1168, allocations: 92.81 kB / 428.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1168, allocations: 4 kB / 428.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.1168, allocations: 42.48 kB / 428.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.1168, allocations: 3.938 kB / 428.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001602/0.1184, allocations: 0.6916 MB / 429.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1185, allocations: 59.39 kB / 429.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.1188, allocations: 308.5 kB / 430 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.1188, allocations: 29.7 kB / 430 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.119, allocations: 216.5 kB / 430.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/0.1191, allocations: 79.33 kB / 430.3 MB, free: 456 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.1191, allocations: 49.64 kB / 430.4 MB, free: 400 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1193, allocations: 338.8 kB / 430.7 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.1195, allocations: 84.02 kB / 430.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.1198, allocations: 136.1 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.1202, allocations: 188.2 kB / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1202, allocations: 0 / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007652/0.1209, allocations: 359.6 kB / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.121, allocations: 4 kB / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.121, allocations: 0 / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004679/0.1214, allocations: 126.5 kB / 431.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.1216, allocations: 31.97 kB / 431.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004363/0.126, allocations: 4.983 MB / 436.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.1262, allocations: 23.92 kB / 436.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.1262, allocations: 11.98 kB / 436.6 MB, free: 9.648 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.0001888/0.1264, allocations: 145.8 kB / 436.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.1265, allocations: 39.77 kB / 436.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.501e-05/0.1266, allocations: 43.17 kB / 436.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1266, allocations: 4 kB / 436.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1266, allocations: 0 / 436.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1266, allocations: 0 / 436.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.127, allocations: 381.2 kB / 437.2 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.127, allocations: 0 / 437.2 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.1272, allocations: 19.98 kB / 437.2 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003476/0.1275, allocations: 114.5 kB / 437.3 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1275, allocations: 4 kB / 437.3 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004144/0.1317, allocations: 4.963 MB / 442.3 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1317, allocations: 0 / 442.3 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000675/0.1323, allocations: 408.9 kB / 442.7 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.1325, allocations: 132.8 kB / 442.8 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.1325, allocations: 3.938 kB / 442.8 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.1328, allocations: 19.98 kB / 442.9 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.1328, allocations: 31.95 kB / 442.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.1329, allocations: 7.938 kB / 442.9 MB, free: 2.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.1331, allocations: 219.1 kB / 443.1 MB, free: 2.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1331, allocations: 4 kB / 443.1 MB, free: 2.613 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006718/0.1338, allocations: 107.8 kB / 443.2 MB, free: 2.508 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.0001362/0.1339, allocations: 115.4 kB / 443.3 MB, free: 2.387 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000956/0.1349, allocations: 0.57 MB / 443.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1349, allocations: 0 / 443.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005535/0.1354, allocations: 479.6 kB / 444.4 MB, free: 1.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.1358, allocations: 63.56 kB / 444.4 MB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.137, allocations: 0.6469 MB / 445.1 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1703/0.3073, allocations: 0.7967 MB / 445.9 MB, free: 29.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.292e-05/0.3074, allocations: 23.05 kB / 445.9 MB, free: 29.14 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3074, allocations: 0.5469 kB / 445.9 MB, free: 29.14 MB / 366.1 MB Notification: Performance of Templates: time 0.01081/0.3182, allocations: 8.333 MB / 454.2 MB, free: 28.5 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.523347354028374]