Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001476/0.001476, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001598/0.001598, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.375e-05, allocations: 6.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.008378/0.008411, allocations: 3.22 MB / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.01152, allocations: 0.8139 MB / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006039/0.01213, allocations: 7.938 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004772/0.0126, allocations: 67.36 kB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000735/0.01334, allocations: 150.6 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007648/0.0141, allocations: 139.7 kB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.01527, allocations: 0.5209 MB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.01565, allocations: 95.67 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008844/0.01653, allocations: 295.2 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004563/0.01699, allocations: 155.6 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.874e-05/0.01709, allocations: 40 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.01724, allocations: 40 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.01739, allocations: 95.59 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.01768, allocations: 163.6 kB / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009499/0.01863, allocations: 0.4945 MB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.01864, allocations: 0 / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.01864, allocations: 0 / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.01865, allocations: 3.938 kB / 278.6 MB, free: 11.49 MB / 266.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.001828/0.02048, allocations: 0.6606 MB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.02054, allocations: 8.031 kB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006001/0.02114, allocations: 100.6 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007515/0.02189, allocations: 277.5 kB / 279.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.02194, allocations: 25.03 kB / 279.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.627e-05/0.02201, allocations: 32.38 kB / 279.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.02312, allocations: 436.4 kB / 280.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.02315, allocations: 192 / 280.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/0.0232, allocations: 12.38 kB / 280.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.02322, allocations: 19.92 kB / 280.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009164/0.02414, allocations: 266.4 kB / 280.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002843/0.02698, allocations: 1.234 MB / 281.7 MB, free: 8.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/0.0276, allocations: 205.2 kB / 281.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.02791, allocations: 97.22 kB / 282 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.02794, allocations: 4 kB / 282 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/0.028, allocations: 42.42 kB / 282 MB, free: 7.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.893e-06/0.028, allocations: 3.938 kB / 282 MB, free: 7.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.002234/0.03023, allocations: 479.7 kB / 282.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.0303, allocations: 55.41 kB / 282.5 MB, free: 7.355 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/0.03082, allocations: 296.5 kB / 282.8 MB, free: 7.059 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.03087, allocations: 29.7 kB / 282.8 MB, free: 7.023 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.03115, allocations: 216.3 kB / 283.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.03126, allocations: 79.36 kB / 283.1 MB, free: 6.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.0314, allocations: 49.66 kB / 283.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002583/0.03166, allocations: 338.8 kB / 283.5 MB, free: 6.336 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.03197, allocations: 87.95 kB / 283.6 MB, free: 6.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.03233, allocations: 124.2 kB / 283.7 MB, free: 6.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/0.03298, allocations: 200.1 kB / 283.9 MB, free: 5.902 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.03298, allocations: 0 / 283.9 MB, free: 5.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001188/0.03417, allocations: 359.7 kB / 284.3 MB, free: 5.535 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.03419, allocations: 8 kB / 284.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.0342, allocations: 3.938 kB / 284.3 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/0.03483, allocations: 122.4 kB / 284.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.03511, allocations: 27.98 kB / 284.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0067/0.04181, allocations: 4.588 MB / 289 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.0422, allocations: 35.94 kB / 289 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.04223, allocations: 4 kB / 289 MB, free: 444 kB / 266.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.000319/0.04255, allocations: 149.8 kB / 289.2 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.04268, allocations: 43.77 kB / 289.2 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.91e-05/0.04278, allocations: 35.17 kB / 289.3 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.04278, allocations: 4 kB / 289.3 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.04279, allocations: 0 / 289.3 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.0428, allocations: 3.984 kB / 289.3 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/0.0434, allocations: 265.1 kB / 289.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.0434, allocations: 4 kB / 289.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.04358, allocations: 20.11 kB / 289.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005421/0.04412, allocations: 114.4 kB / 289.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.04415, allocations: 8 kB / 289.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006447/0.0506, allocations: 4.589 MB / 294.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.0506, allocations: 0 / 294.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.05169, allocations: 405.1 kB / 294.7 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.05189, allocations: 55.83 kB / 294.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.104e-05/0.05194, allocations: 8 kB / 294.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.05228, allocations: 15.98 kB / 294.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.05243, allocations: 31.89 kB / 294.8 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.05246, allocations: 16.06 kB / 294.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003712/0.05283, allocations: 211.1 kB / 295 MB, free: 10.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.05283, allocations: 0 / 295 MB, free: 10.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001182/0.05401, allocations: 111.8 kB / 295.1 MB, free: 10 MB / 282.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.0001906/0.0542, allocations: 107.2 kB / 295.2 MB, free: 9.887 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.05565, allocations: 0.561 MB / 295.8 MB, free: 9.289 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.05565, allocations: 0 / 295.8 MB, free: 9.289 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008771/0.05653, allocations: 479.7 kB / 296.2 MB, free: 8.781 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.05717, allocations: 41.98 kB / 296.3 MB, free: 8.738 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.05909, allocations: 0.632 MB / 296.9 MB, free: 8.082 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.05941, allocations: 194.5 kB / 297.1 MB, free: 7.867 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.05958, allocations: 22.28 kB / 297.1 MB, free: 7.844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.853e-05/0.05968, allocations: 28.48 kB / 297.2 MB, free: 7.816 MB / 282.7 MB Notification: Performance of SimCode: time 1.223e-06/0.05968, allocations: 0 / 297.2 MB, free: 7.816 MB / 282.7 MB Notification: Performance of Templates: time 0.01603/0.07571, allocations: 4.957 MB / 302.1 MB, free: 2.934 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.608027489972301]