Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 47.92 kB / 371.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2532, allocations: 52.17 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004987/0.2582, allocations: 3.527 MB / 427.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.2597, allocations: 0.7649 MB / 428.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.2598, allocations: 8 kB / 428.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.2601, allocations: 63.3 kB / 428.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.2603, allocations: 138.8 kB / 428.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.2607, allocations: 107.9 kB / 428.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005817/0.2612, allocations: 0.5055 MB / 429 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.2615, allocations: 95.62 kB / 429.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.2617, allocations: 199.3 kB / 429.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.262, allocations: 203.1 kB / 429.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-05/0.2621, allocations: 40 kB / 429.5 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.2622, allocations: 40 kB / 429.5 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.652e-05/0.2623, allocations: 95.62 kB / 429.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.2625, allocations: 218.9 kB / 429.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005408/0.263, allocations: 497.7 kB / 430.3 MB, free: 8.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.263, allocations: 4 kB / 430.3 MB, free: 8.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.263, allocations: 0 / 430.3 MB, free: 8.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.263, allocations: 0 / 430.3 MB, free: 8.191 MB / 334.1 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.001192/0.2642, allocations: 0.6567 MB / 431 MB, free: 7.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2642, allocations: 12.02 kB / 431 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.51e-05/0.2643, allocations: 56.55 kB / 431.1 MB, free: 7.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.2648, allocations: 258.3 kB / 431.3 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.2649, allocations: 21.03 kB / 431.3 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.2649, allocations: 32.38 kB / 431.4 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.2656, allocations: 367 kB / 431.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2656, allocations: 0 / 431.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.2656, allocations: 12 kB / 431.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.2656, allocations: 8 kB / 431.8 MB, free: 6.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005669/0.2662, allocations: 266.4 kB / 432 MB, free: 6.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.2683, allocations: 1.357 MB / 433.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.2687, allocations: 206.5 kB / 433.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.2689, allocations: 96.81 kB / 433.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.269, allocations: 0 / 433.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.269, allocations: 42.44 kB / 433.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.202e-06/0.269, allocations: 0 / 433.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.00144/0.2704, allocations: 479.3 kB / 434.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2705, allocations: 59.41 kB / 434.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.2708, allocations: 308.5 kB / 434.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.2709, allocations: 29.7 kB / 434.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.271, allocations: 212.5 kB / 434.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/0.2711, allocations: 83.31 kB / 434.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-05/0.2712, allocations: 49.7 kB / 434.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.2714, allocations: 338.8 kB / 435.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.2716, allocations: 75.97 kB / 435.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.2718, allocations: 132.2 kB / 435.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.2722, allocations: 196.1 kB / 435.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2722, allocations: 4 kB / 435.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007496/0.273, allocations: 347.7 kB / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.273, allocations: 8 kB / 436 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.273, allocations: 4 kB / 436 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000443/0.2734, allocations: 122.5 kB / 436.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.2736, allocations: 31.97 kB / 436.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/0.278, allocations: 4.673 MB / 440.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.2782, allocations: 27.81 kB / 440.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.2782, allocations: 8 kB / 440.8 MB, free: 13.05 MB / 350.1 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.0001967/0.2784, allocations: 153.8 kB / 441 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.2785, allocations: 39.7 kB / 441 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/0.2786, allocations: 35.27 kB / 441.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2786, allocations: 3.984 kB / 441.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2786, allocations: 128 / 441.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2786, allocations: 0 / 441.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.279, allocations: 352.4 kB / 441.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.279, allocations: 3.984 kB / 441.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.2792, allocations: 19.98 kB / 441.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003443/0.2795, allocations: 114.5 kB / 441.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.2795, allocations: 4 kB / 441.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004104/0.2836, allocations: 4.66 MB / 446.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2836, allocations: 256 / 446.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006763/0.2843, allocations: 401.6 kB / 446.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.2844, allocations: 52 kB / 446.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.2845, allocations: 4 kB / 446.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.2847, allocations: 19.98 kB / 446.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.2848, allocations: 35.88 kB / 446.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.2848, allocations: 15.94 kB / 446.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002465/0.2851, allocations: 215.1 kB / 446.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2851, allocations: 0 / 446.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007/0.2858, allocations: 119.8 kB / 447.1 MB, free: 6.41 MB / 350.1 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.0001278/0.2859, allocations: 95.25 kB / 447.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000947/0.2868, allocations: 0.5766 MB / 447.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2868, allocations: 0 / 447.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.2874, allocations: 479.8 kB / 448.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.2878, allocations: 52.34 kB / 448.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.2891, allocations: 0.6646 MB / 448.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.2895, allocations: 0.7952 MB / 449.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.735e-05/0.2896, allocations: 19.44 kB / 449.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2896, allocations: 0 / 449.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of Templates: time 0.01192/0.3015, allocations: 8.32 MB / 458 MB, free: 11.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.992452400969341]