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.001045/0.001045, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001267/0.001267, allocations: 168.7 kB / 25.7 MB, free: 8.453 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.9182/0.9182, allocations: 158.6 MB / 187.6 MB, free: 2.77 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.583e-06/1.583e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.675e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005737/0.005764, allocations: 3.377 MB / 254.9 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.00793, allocations: 0.8107 MB / 255.7 MB, free: 3.035 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.008167, allocations: 11.94 kB / 255.7 MB, free: 3.023 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.008384, allocations: 63.36 kB / 255.8 MB, free: 2.961 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.008724, allocations: 142.6 kB / 255.9 MB, free: 2.82 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.009079, allocations: 115.8 kB / 256 MB, free: 2.707 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.009656, allocations: 0.5207 MB / 256.6 MB, free: 2.184 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.009884, allocations: 108.2 kB / 256.7 MB, free: 2.074 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/0.0103, allocations: 279.4 kB / 256.9 MB, free: 1.801 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.01056, allocations: 159.5 kB / 257.1 MB, free: 1.645 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.556e-05/0.01063, allocations: 40 kB / 257.1 MB, free: 1.605 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.488e-05/0.0107, allocations: 36 kB / 257.2 MB, free: 1.57 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.224e-05/0.01078, allocations: 91.66 kB / 257.3 MB, free: 1.48 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.01095, allocations: 159.5 kB / 257.4 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.01138, allocations: 334.7 kB / 257.7 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.01138, allocations: 0 / 257.7 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.01138, allocations: 0 / 257.7 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.01139, allocations: 0 / 257.7 MB, free: 0.9961 MB / 234.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.0009348/0.01232, allocations: 0.628 MB / 258.4 MB, free: 352 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.01237, allocations: 12.03 kB / 258.4 MB, free: 340 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.01248, allocations: 56.89 kB / 258.4 MB, free: 284 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.01281, allocations: 225.6 kB / 258.7 MB, free: 36 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.01285, allocations: 29.03 kB / 258.7 MB, free: 4 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-05/0.01291, allocations: 32.42 kB / 258.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.01337, allocations: 353 kB / 259.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.01338, allocations: 192 / 259.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.01341, allocations: 24.34 kB / 259.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.01343, allocations: 11.94 kB / 259.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.01364, allocations: 92.48 kB / 259.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.01514, allocations: 1.023 MB / 260.2 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.0154, allocations: 142.5 kB / 260.4 MB, free: 14.22 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.792e-05/0.01548, allocations: 40.84 kB / 260.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.01551, allocations: 4 kB / 260.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.01555, allocations: 42.55 kB / 260.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.853e-06/0.01555, allocations: 4 kB / 260.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.000852/0.0164, allocations: 296.2 kB / 260.7 MB, free: 13.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.01643, allocations: 51.41 kB / 260.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.01667, allocations: 270.9 kB / 261 MB, free: 13.48 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.0167, allocations: 29.7 kB / 261.1 MB, free: 13.45 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.01682, allocations: 192.9 kB / 261.3 MB, free: 13.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.01688, allocations: 75.33 kB / 261.3 MB, free: 13.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.473e-05/0.01696, allocations: 49.67 kB / 261.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.01709, allocations: 350.7 kB / 261.7 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.01715, allocations: 20 kB / 261.8 MB, free: 12.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.462e-05/0.01724, allocations: 72.23 kB / 261.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.01741, allocations: 112 kB / 261.9 MB, free: 12.54 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.01741, allocations: 0 / 261.9 MB, free: 12.54 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003752/0.01779, allocations: 207.8 kB / 262.1 MB, free: 12.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.01781, allocations: 8.062 kB / 262.1 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.01782, allocations: 4 kB / 262.1 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002962/0.01811, allocations: 82.52 kB / 262.2 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.01823, allocations: 23.98 kB / 262.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/0.02124, allocations: 4.161 MB / 266.4 MB, free: 7.777 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.0214, allocations: 27.83 kB / 266.4 MB, free: 7.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.02142, allocations: 4 kB / 266.4 MB, free: 7.746 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 (With_Ron_Goff_Vknee.off,With_Ron_Goff.off,Ideal.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.0001346/0.02155, allocations: 121.9 kB / 266.6 MB, free: 7.617 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.02162, allocations: 35.91 kB / 266.6 MB, free: 7.582 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.02167, allocations: 30.41 kB / 266.6 MB, free: 7.547 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.02167, allocations: 4 kB / 266.6 MB, free: 7.543 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.02167, allocations: 0 / 266.6 MB, free: 7.543 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.02168, allocations: 0 / 266.6 MB, free: 7.543 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.02198, allocations: 185.6 kB / 266.8 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.02199, allocations: 0 / 266.8 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.02206, allocations: 23.92 kB / 266.8 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002401/0.0223, allocations: 86.48 kB / 266.9 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.02231, allocations: 8.094 kB / 266.9 MB, free: 7.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.02498, allocations: 4.146 MB / 271.1 MB, free: 2.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02498, allocations: 4 kB / 271.1 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.0253, allocations: 266.4 kB / 271.3 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.48e-05/0.0254, allocations: 31.75 kB / 271.4 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.02543, allocations: 8 kB / 271.4 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.02558, allocations: 15.98 kB / 271.4 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.02567, allocations: 23.95 kB / 271.4 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.02568, allocations: 16.02 kB / 271.4 MB, free: 2.438 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.02581, allocations: 100.6 kB / 271.5 MB, free: 2.336 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02581, allocations: 0 / 271.5 MB, free: 2.336 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007793/0.02659, allocations: 119.7 kB / 271.6 MB, free: 2.219 MB / 250.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.0001419/0.02673, allocations: 88.17 kB / 271.7 MB, free: 2.129 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005657/0.02729, allocations: 492.1 kB / 272.2 MB, free: 1.609 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/0.0273, allocations: 4 kB / 272.2 MB, free: 1.605 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.02753, allocations: 428.4 kB / 272.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.02776, allocations: 65.05 kB / 272.7 MB, free: 1.082 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009869/0.02874, allocations: 0.5939 MB / 273.3 MB, free: 464 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.632e-05/0.02882, allocations: 108.6 kB / 273.4 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.854e-05/0.02889, allocations: 18.28 kB / 273.4 MB, free: 316 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.02901, allocations: 103.3 kB / 273.5 MB, free: 212 kB / 250.7 MB Notification: Performance of SimCode: time 8.91e-07/0.02901, allocations: 0 / 273.5 MB, free: 212 kB / 250.7 MB Notification: Performance of Templates: time 0.007719/0.03673, allocations: 5.21 MB / 278.7 MB, free: 11.03 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: 2.774760582949966]