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.001802/0.001802, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002461/0.002461, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 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.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 43.92 kB / 377.7 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2482, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004797/0.253, allocations: 3.218 MB / 434.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.2547, allocations: 0.8189 MB / 435.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.255, allocations: 11.94 kB / 435.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.2552, allocations: 63.36 kB / 435.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.2555, allocations: 138.7 kB / 435.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.256, allocations: 131.8 kB / 435.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006389/0.2566, allocations: 0.5094 MB / 436 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.2568, allocations: 91.69 kB / 436.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.2572, allocations: 195.3 kB / 436.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.2574, allocations: 191 kB / 436.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.973e-05/0.2575, allocations: 40 kB / 436.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.2576, allocations: 44 kB / 436.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.87e-05/0.2577, allocations: 91.62 kB / 436.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.2579, allocations: 179.1 kB / 436.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005653/0.2585, allocations: 0.5052 MB / 437.3 MB, free: 416 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2585, allocations: 7.875 kB / 437.3 MB, free: 408 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2585, allocations: 0 / 437.3 MB, free: 408 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.2585, allocations: 0 / 437.3 MB, free: 408 kB / 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.001171/0.2597, allocations: 0.6606 MB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2597, allocations: 8.031 kB / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.086e-05/0.2598, allocations: 70.72 kB / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.2601, allocations: 80.58 kB / 438.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.2607, allocations: 266.3 kB / 438.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.2607, allocations: 29.03 kB / 438.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.2607, allocations: 28.38 kB / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006652/0.2614, allocations: 436 kB / 438.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2614, allocations: 3.938 kB / 438.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.2614, allocations: 16 kB / 438.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2615, allocations: 8 kB / 438.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000538/0.262, allocations: 262.5 kB / 439.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.2639, allocations: 1.294 MB / 440.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.2643, allocations: 202.4 kB / 440.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.2645, allocations: 93.22 kB / 440.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.2646, allocations: 7.938 kB / 440.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.2646, allocations: 42.42 kB / 440.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/0.2646, allocations: 0 / 440.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001386/0.266, allocations: 491 kB / 441.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.266, allocations: 51.41 kB / 441.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.2664, allocations: 312.6 kB / 441.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.2664, allocations: 29.7 kB / 441.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.2666, allocations: 224.4 kB / 441.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.2666, allocations: 79.27 kB / 441.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-05/0.2667, allocations: 49.7 kB / 442 MB, free: 11.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.2669, allocations: 338.8 kB / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.2671, allocations: 83.95 kB / 442.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.2673, allocations: 124.2 kB / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.2677, allocations: 204 kB / 442.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2677, allocations: 3.938 kB / 442.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007164/0.2684, allocations: 355.7 kB / 443.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2684, allocations: 8 kB / 443.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2684, allocations: 0 / 443.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000393/0.2688, allocations: 118.5 kB / 443.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.269, allocations: 35.86 kB / 443.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004199/0.2732, allocations: 4.637 MB / 447.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.2734, allocations: 27.91 kB / 447.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.2734, allocations: 12 kB / 447.9 MB, free: 5.121 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.0001831/0.2736, allocations: 157.6 kB / 448.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.2737, allocations: 35.77 kB / 448.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.689e-05/0.2737, allocations: 39.45 kB / 448.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2737, allocations: 4 kB / 448.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2737, allocations: 4 kB / 448.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2737, allocations: 0 / 448.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.2741, allocations: 312.5 kB / 448.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2742, allocations: 0 / 448.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.2743, allocations: 19.98 kB / 448.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003221/0.2746, allocations: 110.4 kB / 448.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.2746, allocations: 8 kB / 448.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004105/0.2787, allocations: 4.641 MB / 453.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2787, allocations: 4 kB / 453.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.2793, allocations: 394.2 kB / 453.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.2795, allocations: 55.73 kB / 453.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.2795, allocations: 8 kB / 453.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.2797, allocations: 19.92 kB / 453.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.2798, allocations: 35.88 kB / 453.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.2798, allocations: 7.938 kB / 453.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002338/0.2801, allocations: 223.1 kB / 454 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2801, allocations: 0 / 454 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006547/0.2807, allocations: 115.8 kB / 454.1 MB, free: 14.54 MB / 366.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.0009373/0.2816, allocations: 0.9272 MB / 455 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009203/0.2826, allocations: 0.566 MB / 455.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2826, allocations: 0 / 455.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005633/0.2831, allocations: 478.7 kB / 456 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.2836, allocations: 68.69 kB / 456.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/0.2881, allocations: 3.158 MB / 459.3 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.2883, allocations: 190.8 kB / 459.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.2884, allocations: 26.95 kB / 459.5 MB, free: 8.895 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.2886, allocations: 111.4 kB / 459.6 MB, free: 8.785 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2886, allocations: 0 / 459.6 MB, free: 8.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04537/0.3339, allocations: 9.29 MB / 468.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.83, allocations: 3.875 kB / 468.9 MB, free: 15.7 MB / 382.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199521 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/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] "Error: Could not read variable With_Ron_Goff.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv. Warning: Get data of variable With_Ron_Goff.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv failed! Error: Could not read variable With_Ron_Goff_Vknee.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv. Warning: Get data of variable With_Ron_Goff_Vknee.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.5470527629368]