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.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.001646/0.001646, allocations: 85.39 kB / 22 MB, free: 5.203 MB / 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.001769/0.001769, allocations: 157.8 kB / 25.24 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 158.6 MB / 187 MB, free: 6.262 MB / 174.1 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 51.92 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2275, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004886/0.2324, allocations: 3.141 MB / 351.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.2338, allocations: 0.7719 MB / 352.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.2339, allocations: 15.94 kB / 352.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.2342, allocations: 59.36 kB / 352.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.2344, allocations: 138.8 kB / 352.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.2347, allocations: 111.8 kB / 352.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005569/0.2353, allocations: 0.4977 MB / 353.2 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.2355, allocations: 103.6 kB / 353.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.2357, allocations: 195.3 kB / 353.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.236, allocations: 179.1 kB / 353.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.899e-05/0.2361, allocations: 40 kB / 353.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.456e-05/0.2361, allocations: 40 kB / 353.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.2362, allocations: 87.62 kB / 353.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.2364, allocations: 187.2 kB / 354.1 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.237, allocations: 0.4886 MB / 354.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.237, allocations: 4 kB / 354.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.237, allocations: 0 / 354.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.237, allocations: 0 / 354.5 MB, free: 9.449 MB / 318.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.001166/0.2381, allocations: 0.6606 MB / 355.2 MB, free: 8.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2382, allocations: 11.97 kB / 355.2 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.148e-05/0.2383, allocations: 48.66 kB / 355.3 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.2387, allocations: 258.3 kB / 355.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.2387, allocations: 25.03 kB / 355.5 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.2388, allocations: 28.38 kB / 355.6 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.2395, allocations: 436.2 kB / 356 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2395, allocations: 4 kB / 356 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.2395, allocations: 16 kB / 356 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2395, allocations: 8 kB / 356 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/0.2401, allocations: 266.4 kB / 356.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.242, allocations: 1.23 MB / 357.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.2425, allocations: 206.4 kB / 357.7 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.2427, allocations: 92.81 kB / 357.8 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.2427, allocations: 8 kB / 357.8 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.2427, allocations: 34.56 kB / 357.8 MB, free: 5.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.342e-06/0.2427, allocations: 0 / 357.8 MB, free: 5.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001429/0.2442, allocations: 475.9 kB / 358.3 MB, free: 5.473 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.2442, allocations: 59.41 kB / 358.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.2445, allocations: 292.5 kB / 358.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.2445, allocations: 29.7 kB / 358.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.2447, allocations: 216.4 kB / 358.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/0.2448, allocations: 79.28 kB / 359 MB, free: 4.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/0.2449, allocations: 45.7 kB / 359 MB, free: 4.727 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.245, allocations: 342.8 kB / 359.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.2452, allocations: 79.97 kB / 359.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.2454, allocations: 120.2 kB / 359.5 MB, free: 4.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/0.2458, allocations: 204 kB / 359.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2458, allocations: 4 kB / 359.8 MB, free: 3.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006984/0.2465, allocations: 347.7 kB / 360.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2465, allocations: 4 kB / 360.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.2466, allocations: 4 kB / 360.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004465/0.247, allocations: 118.4 kB / 360.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.2472, allocations: 32.03 kB / 360.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/0.2512, allocations: 4.58 MB / 364.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.2514, allocations: 28.14 kB / 364.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.2514, allocations: 12.09 kB / 364.9 MB, free: 14.51 MB / 334.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.0001635/0.2516, allocations: 149.8 kB / 365 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.2516, allocations: 39.73 kB / 365.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.2517, allocations: 34.41 kB / 365.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2517, allocations: 7.938 kB / 365.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.2517, allocations: 0 / 365.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2517, allocations: 4.062 kB / 365.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.252, allocations: 257.1 kB / 365.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.252, allocations: 7.938 kB / 365.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.2521, allocations: 15.98 kB / 365.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003162/0.2525, allocations: 118.4 kB / 365.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.2525, allocations: 64 / 365.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003911/0.2564, allocations: 4.576 MB / 370.1 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2564, allocations: 4.031 kB / 370.1 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008035/0.2572, allocations: 393.8 kB / 370.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.2574, allocations: 51.72 kB / 370.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.2574, allocations: 7.984 kB / 370.5 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.2578, allocations: 23.92 kB / 370.5 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.2579, allocations: 23.95 kB / 370.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.258, allocations: 8 kB / 370.6 MB, free: 8.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002473/0.2582, allocations: 211.1 kB / 370.8 MB, free: 8.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2582, allocations: 0 / 370.8 MB, free: 8.227 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008357/0.259, allocations: 115.8 kB / 370.9 MB, free: 8.113 MB / 334.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.0001305/0.2592, allocations: 107.2 kB / 371 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009355/0.2601, allocations: 0.5505 MB / 371.5 MB, free: 7.406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/0.2601, allocations: 8.047 kB / 371.5 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.2607, allocations: 476.8 kB / 372 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.261, allocations: 57.25 kB / 372.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.2622, allocations: 0.6301 MB / 372.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.2624, allocations: 194.7 kB / 372.9 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.662e-05/0.2625, allocations: 22.33 kB / 372.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.2626, allocations: 24.48 kB / 372.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2626, allocations: 0 / 372.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of Templates: time 0.01035/0.2729, allocations: 4.904 MB / 377.8 MB, free: 1.016 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.530115160974674]