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.001004/0.001004, allocations: 80.98 kB / 22.99 MB, free: 1.504 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.00113/0.00113, allocations: 173.3 kB / 26.4 MB, free: 7.758 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.018/1.018, allocations: 158.6 MB / 188.3 MB, free: 2.82 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.573e-06/1.573e-06, allocations: 0 / 252.3 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.675e-05, allocations: 6.25 kB / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.003824/0.003851, allocations: 3.373 MB / 255.6 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.005978, allocations: 0.7799 MB / 256.4 MB, free: 3.07 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.006312, allocations: 11.94 kB / 256.4 MB, free: 3.059 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.006511, allocations: 67.36 kB / 256.5 MB, free: 2.992 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.006785, allocations: 138.6 kB / 256.6 MB, free: 2.855 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.007172, allocations: 123.7 kB / 256.7 MB, free: 2.734 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.007679, allocations: 0.5168 MB / 257.3 MB, free: 2.215 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.007893, allocations: 99.62 kB / 257.4 MB, free: 2.117 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003554/0.008249, allocations: 275.4 kB / 257.6 MB, free: 1.848 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.008434, allocations: 159.5 kB / 257.8 MB, free: 1.691 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.008477, allocations: 40 kB / 257.8 MB, free: 1.652 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.454e-05/0.008521, allocations: 40 kB / 257.9 MB, free: 1.613 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.008589, allocations: 91.66 kB / 258 MB, free: 1.52 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.008722, allocations: 155.6 kB / 258.1 MB, free: 1.367 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.009126, allocations: 334.7 kB / 258.4 MB, free: 1.039 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.009131, allocations: 3.938 kB / 258.4 MB, free: 1.035 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.009132, allocations: 0 / 258.4 MB, free: 1.035 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.00914, allocations: 4 kB / 258.4 MB, free: 1.031 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.0008496/0.009989, allocations: 0.7488 MB / 259.2 MB, free: 248 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.01003, allocations: 8.031 kB / 259.2 MB, free: 240 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.451e-05/0.01012, allocations: 80.66 kB / 259.3 MB, free: 160 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.01045, allocations: 264.4 kB / 259.5 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.01048, allocations: 25.03 kB / 259.6 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.01051, allocations: 28.38 kB / 259.6 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.01086, allocations: 356.4 kB / 259.9 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.01088, allocations: 8.109 kB / 259.9 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.0109, allocations: 20.38 kB / 260 MB, free: 15.4 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.01091, allocations: 11.94 kB / 260 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.01105, allocations: 100.4 kB / 260.1 MB, free: 15.29 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.01227, allocations: 1.339 MB / 261.4 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.01248, allocations: 151 kB / 261.6 MB, free: 13.71 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.01254, allocations: 55.64 kB / 261.6 MB, free: 13.65 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.01256, allocations: 4 kB / 261.6 MB, free: 13.65 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.01258, allocations: 41.39 kB / 261.7 MB, free: 13.6 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.01259, allocations: 0 / 261.7 MB, free: 13.6 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.00068/0.01327, allocations: 341.2 kB / 262 MB, free: 13.25 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.01329, allocations: 55.41 kB / 262 MB, free: 13.18 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.01348, allocations: 322.1 kB / 262.4 MB, free: 12.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.0135, allocations: 29.7 kB / 262.4 MB, free: 12.81 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.01361, allocations: 263.1 kB / 262.6 MB, free: 12.54 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.01366, allocations: 83.3 kB / 262.7 MB, free: 12.46 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.01373, allocations: 55.34 kB / 262.8 MB, free: 12.4 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004347/0.01417, allocations: 0.5117 MB / 263.3 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.396e-05/0.01422, allocations: 27.97 kB / 263.3 MB, free: 11.85 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.559e-05/0.0143, allocations: 82.39 kB / 263.4 MB, free: 11.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.01444, allocations: 122.2 kB / 263.5 MB, free: 11.61 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01445, allocations: 0 / 263.5 MB, free: 11.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000358/0.0148, allocations: 256.2 kB / 263.8 MB, free: 11.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.01482, allocations: 7.938 kB / 263.8 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.01483, allocations: 4 kB / 263.8 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.01508, allocations: 98.97 kB / 263.9 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.904e-05/0.01518, allocations: 31.91 kB / 263.9 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/0.01803, allocations: 6.09 MB / 270 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.01815, allocations: 23.88 kB / 270 MB, free: 4.734 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.01816, allocations: 12.09 kB / 270 MB, free: 4.723 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.0004292/0.01859, allocations: 172.5 kB / 270.2 MB, free: 4.543 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.01864, allocations: 43.7 kB / 270.2 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.01868, allocations: 38.41 kB / 270.3 MB, free: 4.457 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.01869, allocations: 4 kB / 270.3 MB, free: 4.453 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.01869, allocations: 96 / 270.3 MB, free: 4.453 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.01869, allocations: 3.984 kB / 270.3 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.01892, allocations: 205 kB / 270.5 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01892, allocations: 0 / 270.5 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.01897, allocations: 19.98 kB / 270.5 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001769/0.01915, allocations: 107 kB / 270.6 MB, free: 4.086 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01916, allocations: 11.98 kB / 270.6 MB, free: 4.074 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002517/0.02167, allocations: 6.074 MB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.02168, allocations: 3.938 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.022, allocations: 366.6 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.02207, allocations: 51.72 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.02209, allocations: 4 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.0222, allocations: 23.98 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.02227, allocations: 27.95 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.02229, allocations: 4 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000405/0.02269, allocations: 218.9 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02269, allocations: 0 / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000495/0.02319, allocations: 111.8 kB / 277.5 MB, free: 12.84 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.0001104/0.0233, allocations: 107.3 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.02383, allocations: 0.645 MB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.02384, allocations: 0 / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.02418, allocations: 0.5985 MB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.02448, allocations: 60.86 kB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.0255, allocations: 0.6072 MB / 279.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.02562, allocations: 104.6 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.377e-05/0.0257, allocations: 22.33 kB / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.02583, allocations: 126.2 kB / 279.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02583, allocations: 0 / 279.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of Templates: time 0.008354/0.03418, allocations: 5.403 MB / 285.2 MB, free: 5.027 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.003746490459889]