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.001882/0.001882, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.001938/0.001938, allocations: 161 kB / 25.03 MB, free: 8.93 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 1.414/1.414, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.934e-06/1.934e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.083e-05, allocations: 6.312 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005975/0.006005, allocations: 3.381 MB / 253.7 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.007711, allocations: 0.7799 MB / 254.5 MB, free: 3.633 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.007918, allocations: 11.94 kB / 254.5 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.00814, allocations: 67.28 kB / 254.6 MB, free: 3.555 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.008442, allocations: 146.6 kB / 254.7 MB, free: 3.41 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.008788, allocations: 111.8 kB / 254.9 MB, free: 3.301 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006527/0.009441, allocations: 0.5207 MB / 255.4 MB, free: 2.777 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.009689, allocations: 95.59 kB / 255.5 MB, free: 2.684 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.01012, allocations: 291.3 kB / 255.8 MB, free: 2.398 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.0104, allocations: 159.6 kB / 255.9 MB, free: 2.242 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.251e-05/0.01048, allocations: 36 kB / 255.9 MB, free: 2.207 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.01057, allocations: 40 kB / 256 MB, free: 2.168 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.01068, allocations: 95.59 kB / 256.1 MB, free: 2.074 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.01088, allocations: 151.6 kB / 256.2 MB, free: 1.926 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006683/0.01155, allocations: 0.4984 MB / 256.7 MB, free: 1.422 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.01155, allocations: 0 / 256.7 MB, free: 1.422 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.01156, allocations: 4 kB / 256.7 MB, free: 1.418 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.01157, allocations: 0 / 256.7 MB, free: 1.418 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.001438/0.013, allocations: 0.7681 MB / 257.5 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.01305, allocations: 8.031 kB / 257.5 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.0132, allocations: 72.66 kB / 257.6 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.01367, allocations: 276.4 kB / 257.8 MB, free: 240 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.0137, allocations: 21.03 kB / 257.9 MB, free: 220 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.593e-05/0.01375, allocations: 32.38 kB / 257.9 MB, free: 188 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007762/0.01453, allocations: 443.7 kB / 258.3 MB, free: 15.71 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.01455, allocations: 192 / 258.3 MB, free: 15.71 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.01459, allocations: 16.38 kB / 258.3 MB, free: 15.69 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.01461, allocations: 15.88 kB / 258.4 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005818/0.01519, allocations: 250.4 kB / 258.6 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.01761, allocations: 1.503 MB / 260.1 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.01808, allocations: 207 kB / 260.3 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.01829, allocations: 95.64 kB / 260.4 MB, free: 13.53 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.01833, allocations: 7.938 kB / 260.4 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.01837, allocations: 37.39 kB / 260.5 MB, free: 13.47 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.303e-06/0.01837, allocations: 0 / 260.5 MB, free: 13.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.001536/0.01991, allocations: 477.2 kB / 260.9 MB, free: 12.99 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.01996, allocations: 55.41 kB / 261 MB, free: 12.92 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.02045, allocations: 390.2 kB / 261.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.02049, allocations: 33.7 kB / 261.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.02074, allocations: 271.1 kB / 261.6 MB, free: 12.21 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.345e-05/0.02084, allocations: 79.38 kB / 261.7 MB, free: 12.13 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.02096, allocations: 63.3 kB / 261.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000328/0.02129, allocations: 0.5235 MB / 262.3 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.02148, allocations: 71.91 kB / 262.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.02172, allocations: 134.4 kB / 262.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.02214, allocations: 202.3 kB / 262.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.02215, allocations: 0 / 262.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007895/0.02294, allocations: 360.2 kB / 263.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.02295, allocations: 4 kB / 263.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.02297, allocations: 4 kB / 263.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004593/0.02342, allocations: 130.9 kB / 263.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.0236, allocations: 27.97 kB / 263.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006338/0.02994, allocations: 6.416 MB / 269.6 MB, free: 3.762 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.0302, allocations: 23.91 kB / 269.7 MB, free: 3.738 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.03022, allocations: 12 kB / 269.7 MB, free: 3.727 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.0002645/0.03049, allocations: 200.5 kB / 269.9 MB, free: 3.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.935e-05/0.03058, allocations: 39.81 kB / 269.9 MB, free: 3.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.771e-05/0.03066, allocations: 38.41 kB / 269.9 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.03067, allocations: 4 kB / 270 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.03067, allocations: 0 / 270 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.03068, allocations: 3.984 kB / 270 MB, free: 3.43 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.03121, allocations: 316.3 kB / 270.3 MB, free: 3.086 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.03121, allocations: 7.984 kB / 270.3 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.03132, allocations: 12 kB / 270.3 MB, free: 3.066 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000376/0.03169, allocations: 131 kB / 270.4 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.03171, allocations: 8 kB / 270.4 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006137/0.03785, allocations: 6.408 MB / 276.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.03785, allocations: 0 / 276.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007732/0.03862, allocations: 462.6 kB / 277.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.03877, allocations: 47.72 kB / 277.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.0388, allocations: 4.062 kB / 277.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.03903, allocations: 27.92 kB / 277.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.03916, allocations: 27.95 kB / 277.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.03918, allocations: 12.05 kB / 277.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003165/0.0395, allocations: 259 kB / 277.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0395, allocations: 0 / 277.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007517/0.04025, allocations: 111.8 kB / 277.8 MB, free: 11.19 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.0001737/0.04042, allocations: 115.2 kB / 277.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.04193, allocations: 0.7424 MB / 278.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.04194, allocations: 4 kB / 278.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007465/0.04269, allocations: 0.6378 MB / 279.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.04312, allocations: 52.58 kB / 279.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.04446, allocations: 0.6268 MB / 279.9 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.04469, allocations: 190.5 kB / 280.1 MB, free: 8.652 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.04479, allocations: 26.33 kB / 280.1 MB, free: 8.625 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.04485, allocations: 16.5 kB / 280.2 MB, free: 8.609 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.04485, allocations: 0 / 280.2 MB, free: 8.609 MB / 266.7 MB Notification: Performance of Templates: time 0.01239/0.05725, allocations: 5.004 MB / 285.2 MB, free: 3.641 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","/var/lib/jenkins/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.637352801975794]