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.0009538/0.0009538, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 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.001033/0.001033, allocations: 167.7 kB / 25.33 MB, free: 9.449 MB / 18.57 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 0.8594/0.8594, allocations: 158.6 MB / 187.2 MB, free: 2.551 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.924e-05, allocations: 2.312 kB / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005227/0.005256, allocations: 3.423 MB / 254.5 MB, free: 148 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.007041, allocations: 0.7837 MB / 255.3 MB, free: 15.35 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.007294, allocations: 11.94 kB / 255.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.007508, allocations: 63.36 kB / 255.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.007813, allocations: 142.7 kB / 255.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.00819, allocations: 115.7 kB / 255.6 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006001/0.00879, allocations: 0.5207 MB / 256.1 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.009024, allocations: 99.58 kB / 256.2 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.009469, allocations: 283.4 kB / 256.5 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.009736, allocations: 159.5 kB / 256.6 MB, free: 13.97 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.178e-05/0.009808, allocations: 40 kB / 256.7 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.028e-05/0.009879, allocations: 40 kB / 256.7 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.231e-05/0.009961, allocations: 87.67 kB / 256.8 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.01014, allocations: 155.6 kB / 256.9 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.01058, allocations: 334.7 kB / 257.3 MB, free: 13.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.01058, allocations: 0 / 257.3 MB, free: 13.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01058, allocations: 0 / 257.3 MB, free: 13.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.01059, allocations: 0 / 257.3 MB, free: 13.32 MB / 250.7 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.0009902/0.01158, allocations: 0.7489 MB / 258 MB, free: 12.54 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.01163, allocations: 12.02 kB / 258 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.01174, allocations: 76.66 kB / 258.1 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.01207, allocations: 256.3 kB / 258.4 MB, free: 12.17 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.0121, allocations: 25.03 kB / 258.4 MB, free: 12.15 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.01215, allocations: 36.38 kB / 258.4 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.01267, allocations: 380.5 kB / 258.8 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.01268, allocations: 4.125 kB / 258.8 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.01272, allocations: 12.38 kB / 258.8 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.01273, allocations: 11.94 kB / 258.8 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.01302, allocations: 131.8 kB / 258.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.01465, allocations: 1.397 MB / 260.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.01495, allocations: 166.7 kB / 260.5 MB, free: 9.883 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.01507, allocations: 63.64 kB / 260.6 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.01509, allocations: 4 kB / 260.6 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.01512, allocations: 37.39 kB / 260.6 MB, free: 9.766 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 2.044e-06/0.01513, allocations: 0 / 260.6 MB, free: 9.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007436/0.01587, allocations: 372.5 kB / 261 MB, free: 9.383 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.0159, allocations: 55.41 kB / 261 MB, free: 9.316 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.01612, allocations: 338.1 kB / 261.4 MB, free: 8.965 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.01614, allocations: 33.7 kB / 261.4 MB, free: 8.926 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.01625, allocations: 259.1 kB / 261.6 MB, free: 8.664 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.01629, allocations: 67.39 kB / 261.7 MB, free: 8.598 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.01636, allocations: 55.31 kB / 261.8 MB, free: 8.535 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.01649, allocations: 0.5079 MB / 262.3 MB, free: 8.016 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.732e-05/0.01656, allocations: 35.97 kB / 262.3 MB, free: 7.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.566e-05/0.01665, allocations: 94.41 kB / 262.4 MB, free: 7.867 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.01682, allocations: 150.2 kB / 262.5 MB, free: 7.699 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01683, allocations: 0 / 262.5 MB, free: 7.699 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003628/0.01719, allocations: 264.2 kB / 262.8 MB, free: 7.422 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.01721, allocations: 10.95 kB / 262.8 MB, free: 7.414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01721, allocations: 4 kB / 262.8 MB, free: 7.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/0.0175, allocations: 103 kB / 262.9 MB, free: 7.297 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.0176, allocations: 31.98 kB / 262.9 MB, free: 7.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.02065, allocations: 6.182 MB / 269.1 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.8e-05/0.02075, allocations: 27.83 kB / 269.2 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.02076, allocations: 7.938 kB / 269.2 MB, free: 0.6875 MB / 250.7 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.0001089/0.02087, allocations: 172.5 kB / 269.3 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.02091, allocations: 39.81 kB / 269.4 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.02094, allocations: 38.41 kB / 269.4 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.02095, allocations: 4 kB / 269.4 MB, free: 432 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.02095, allocations: 4.031 kB / 269.4 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.02095, allocations: 0 / 269.4 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.02117, allocations: 264.3 kB / 269.7 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.02118, allocations: 0 / 269.7 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.02123, allocations: 19.98 kB / 269.7 MB, free: 108 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.02141, allocations: 99.03 kB / 269.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.02142, allocations: 0 / 269.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/0.02393, allocations: 6.174 MB / 276 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.02394, allocations: 3.938 kB / 276 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.02425, allocations: 387.3 kB / 276.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.02432, allocations: 51.81 kB / 276.4 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.02434, allocations: 4 kB / 276.4 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.02444, allocations: 19.98 kB / 276.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.02451, allocations: 31.94 kB / 276.5 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.02452, allocations: 7.938 kB / 276.5 MB, free: 8.938 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001364/0.02465, allocations: 227 kB / 276.7 MB, free: 8.719 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02465, allocations: 0 / 276.7 MB, free: 8.719 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004362/0.02509, allocations: 111.8 kB / 276.8 MB, free: 8.609 MB / 266.7 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.000118/0.02521, allocations: 115.2 kB / 276.9 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005372/0.02575, allocations: 0.6568 MB / 277.6 MB, free: 7.777 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02575, allocations: 0 / 277.6 MB, free: 7.777 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.02606, allocations: 0.6065 MB / 278.2 MB, free: 7.113 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.02634, allocations: 56.73 kB / 278.2 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.02744, allocations: 0.6112 MB / 278.8 MB, free: 6.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.644e-05/0.0275, allocations: 100.6 kB / 278.9 MB, free: 6.293 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.573e-05/0.02757, allocations: 26.28 kB / 279 MB, free: 6.262 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.02762, allocations: 16.5 kB / 279 MB, free: 6.246 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02762, allocations: 0 / 279 MB, free: 6.246 MB / 266.7 MB Notification: Performance of Templates: time 0.007184/0.0348, allocations: 5.007 MB / 284 MB, free: 1.266 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0507371900603175]