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.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.00133/0.00133, allocations: 111.9 kB / 18.45 MB, free: 4.59 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.001395/0.001395, allocations: 190.9 kB / 21.39 MB, free: 1.652 MB / 14.72 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.516/1.516, allocations: 207.6 MB / 231.8 MB, free: 4.219 MB / 174.1 MB " [Timeout remaining time 178] 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.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 59.89 kB / 342.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1088, allocations: 49.12 MB / 391.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005177/0.114, allocations: 3.449 MB / 394.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.116, allocations: 0.8068 MB / 395.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.1163, allocations: 4 kB / 395.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.1166, allocations: 71.3 kB / 395.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.1169, allocations: 134.8 kB / 395.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.1173, allocations: 107.8 kB / 395.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006946/0.118, allocations: 0.5054 MB / 396.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.1183, allocations: 99.28 kB / 396.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.1185, allocations: 187.3 kB / 396.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.1189, allocations: 215 kB / 396.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.3e-05/0.119, allocations: 36 kB / 397 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.095e-05/0.119, allocations: 44 kB / 397 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1191, allocations: 87.69 kB / 397.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.1194, allocations: 218.9 kB / 397.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.12, allocations: 0.49 MB / 397.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.1201, allocations: 3.938 kB / 397.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1201, allocations: 0 / 397.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.1201, allocations: 0 / 397.8 MB, free: 2.281 MB / 318.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.001296/0.1214, allocations: 0.732 MB / 398.5 MB, free: 1.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1214, allocations: 8.031 kB / 398.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.26e-05/0.1215, allocations: 70.72 kB / 398.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.241e-05/0.1216, allocations: 48.66 kB / 398.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.1222, allocations: 315.6 kB / 399 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.1222, allocations: 25.03 kB / 399 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.1223, allocations: 28.38 kB / 399 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006868/0.1229, allocations: 358.9 kB / 399.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.123, allocations: 7.922 kB / 399.4 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.123, allocations: 16 kB / 399.4 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.123, allocations: 12 kB / 399.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/0.1236, allocations: 258.4 kB / 399.7 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.1259, allocations: 1.415 MB / 401.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/0.1263, allocations: 206.4 kB / 401.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.1265, allocations: 96.81 kB / 401.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.1266, allocations: 8 kB / 401.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.1266, allocations: 30.56 kB / 401.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.1266, allocations: 0 / 401.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001713/0.1283, allocations: 0.7023 MB / 402.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.1284, allocations: 55.41 kB / 402.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.1288, allocations: 308.5 kB / 402.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.1288, allocations: 29.7 kB / 402.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.129, allocations: 212.5 kB / 402.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.1291, allocations: 83.3 kB / 402.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.393e-05/0.1292, allocations: 49.66 kB / 402.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.1294, allocations: 342.8 kB / 403.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.1296, allocations: 79.95 kB / 403.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.1298, allocations: 124.2 kB / 403.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.1302, allocations: 204.1 kB / 403.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1302, allocations: 0 / 403.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007374/0.131, allocations: 351.9 kB / 403.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.131, allocations: 8.094 kB / 403.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.131, allocations: 3.938 kB / 403.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004383/0.1314, allocations: 118.5 kB / 404 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.1316, allocations: 39.84 kB / 404.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00466/0.1363, allocations: 4.971 MB / 409.1 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.1366, allocations: 35.86 kB / 409.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.1366, allocations: 8 kB / 409.1 MB, free: 6.16 MB / 334.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.0002222/0.1368, allocations: 149.7 kB / 409.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.1369, allocations: 35.8 kB / 409.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.706e-05/0.1369, allocations: 39.17 kB / 409.3 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1369, allocations: 0 / 409.3 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.137, allocations: 4 kB / 409.3 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.137, allocations: 4 kB / 409.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.1374, allocations: 373.2 kB / 409.7 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1374, allocations: 0 / 409.7 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1375, allocations: 23.92 kB / 409.7 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003299/0.1379, allocations: 114.5 kB / 409.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.1379, allocations: 4 kB / 409.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004375/0.1423, allocations: 4.967 MB / 414.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1423, allocations: 4.062 kB / 414.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/0.1429, allocations: 397.6 kB / 415.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.1431, allocations: 128.8 kB / 415.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.1431, allocations: 8 kB / 415.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.1434, allocations: 19.98 kB / 415.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/0.1435, allocations: 31.84 kB / 415.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.1435, allocations: 8 kB / 415.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002604/0.1437, allocations: 215.1 kB / 415.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1437, allocations: 0 / 415.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006841/0.1444, allocations: 115.8 kB / 415.7 MB, free: 15.02 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.001098/0.1455, allocations: 0.9457 MB / 416.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.1466, allocations: 0.5545 MB / 417.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1466, allocations: 0 / 417.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005866/0.1472, allocations: 484.5 kB / 417.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.1476, allocations: 68.92 kB / 417.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.1523, allocations: 3.131 MB / 420.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.1528, allocations: 0.7992 MB / 421.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.153, allocations: 22.98 kB / 421.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.1531, allocations: 111.4 kB / 421.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of SimCode: time 1.282e-06/0.1531, allocations: 0 / 421.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04578/0.1989, allocations: 8.671 MB / 430.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.52, allocations: 11.86 kB / 430.5 MB, free: 15.91 MB / 366.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_fmu --startTime=0 --stopTime=1 --stepSize=0.000199521 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 15.13516594702378]