Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 67.91 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2711, allocations: 53.41 MB / 431.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004802/0.2759, allocations: 3.54 MB / 434.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2774, allocations: 0.8602 MB / 435.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.2776, allocations: 11.94 kB / 435.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.2778, allocations: 71.28 kB / 435.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.278, allocations: 130.8 kB / 435.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.2783, allocations: 139.8 kB / 435.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005483/0.2789, allocations: 0.5094 MB / 436.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.2791, allocations: 99.69 kB / 436.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.2794, allocations: 207.2 kB / 436.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.2796, allocations: 203.1 kB / 436.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.2797, allocations: 40 kB / 437 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.36e-05/0.2798, allocations: 44 kB / 437 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.169e-05/0.2799, allocations: 99.55 kB / 437.1 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.2801, allocations: 226.9 kB / 437.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005377/0.2806, allocations: 0.4911 MB / 437.8 MB, free: 40 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2806, allocations: 0 / 437.8 MB, free: 40 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2806, allocations: 0 / 437.8 MB, free: 40 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.2806, allocations: 0 / 437.8 MB, free: 40 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.001152/0.2818, allocations: 0.6647 MB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2818, allocations: 8.031 kB / 438.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.009e-05/0.2819, allocations: 70.72 kB / 438.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003164/0.2822, allocations: 76.58 kB / 438.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.2827, allocations: 266.3 kB / 438.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.2827, allocations: 32.97 kB / 438.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.2827, allocations: 32.38 kB / 439 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005922/0.2833, allocations: 350.9 kB / 439.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2833, allocations: 0 / 439.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.2834, allocations: 23.98 kB / 439.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.2834, allocations: 11.94 kB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005355/0.2839, allocations: 266.4 kB / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.2859, allocations: 1.372 MB / 441 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.2863, allocations: 205.5 kB / 441.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.2865, allocations: 105.2 kB / 441.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.2865, allocations: 4 kB / 441.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.2865, allocations: 38.42 kB / 441.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.323e-06/0.2865, allocations: 0 / 441.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001372/0.2879, allocations: 479.6 kB / 441.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.2879, allocations: 51.41 kB / 441.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.2883, allocations: 312.6 kB / 442.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.2883, allocations: 29.7 kB / 442.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.2884, allocations: 216.5 kB / 442.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.798e-05/0.2885, allocations: 83.25 kB / 442.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.427e-05/0.2886, allocations: 53.66 kB / 442.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2888, allocations: 346.8 kB / 442.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.2889, allocations: 75.97 kB / 442.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.2892, allocations: 125 kB / 443.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.2896, allocations: 200.1 kB / 443.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2896, allocations: 0 / 443.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007068/0.2903, allocations: 355.7 kB / 443.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2903, allocations: 8 kB / 443.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2903, allocations: 0 / 443.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/0.2907, allocations: 118.4 kB / 443.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.2909, allocations: 35.91 kB / 443.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/0.2948, allocations: 4.665 MB / 448.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.295, allocations: 27.83 kB / 448.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.2951, allocations: 8 kB / 448.5 MB, free: 4.75 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.000175/0.2952, allocations: 157.7 kB / 448.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.2953, allocations: 31.81 kB / 448.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.55e-05/0.2954, allocations: 39.27 kB / 448.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2954, allocations: 0 / 448.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2954, allocations: 8.062 kB / 448.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2954, allocations: 3.938 kB / 448.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.2958, allocations: 352.3 kB / 449 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2958, allocations: 0 / 449 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.2959, allocations: 19.98 kB / 449.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003124/0.2962, allocations: 114.4 kB / 449.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2962, allocations: 0 / 449.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/0.3001, allocations: 4.665 MB / 453.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3001, allocations: 0 / 453.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/0.3007, allocations: 402.4 kB / 454.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3008, allocations: 55.7 kB / 454.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.3009, allocations: 4 kB / 454.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.3011, allocations: 24.05 kB / 454.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/0.3012, allocations: 27.89 kB / 454.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3012, allocations: 4 kB / 454.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002451/0.3014, allocations: 227.1 kB / 454.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3014, allocations: 0 / 454.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006211/0.302, allocations: 111.8 kB / 454.7 MB, free: 14.11 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.0009556/0.303, allocations: 0.9407 MB / 455.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009033/0.3039, allocations: 0.5703 MB / 456.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3039, allocations: 0 / 456.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005597/0.3045, allocations: 472 kB / 456.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.3049, allocations: 61.48 kB / 456.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.3093, allocations: 3.159 MB / 459.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.3097, allocations: 0.7953 MB / 460.7 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.5e-05/0.3098, allocations: 22.98 kB / 460.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.31, allocations: 115.4 kB / 460.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.31, allocations: 0 / 460.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04565/0.3556, allocations: 9.01 MB / 469.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.8, allocations: 6.594 kB / 469.8 MB, free: 14.88 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv. Warning: Get data of variable With_Ron_Goff.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv failed! Error: Could not read variable With_Ron_Goff_Vknee.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv. Warning: Get data of variable With_Ron_Goff_Vknee.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.369871089002118]