Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.001831/0.001831, allocations: 120 kB / 18.45 MB, free: 4.605 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.002036/0.002036, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.361/1.361, allocations: 207.6 MB / 231.8 MB, free: 4.105 MB / 174.1 MB " [Timeout remaining time 179] 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.IdealTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",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.001713/0.001713, allocations: 51.92 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08969/0.0914, allocations: 49.12 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004216/0.09562, allocations: 2.893 MB / 394.3 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.09697, allocations: 0.7757 MB / 395 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.0971, allocations: 8 kB / 395.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.09725, allocations: 47.5 kB / 395.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.09745, allocations: 103.1 kB / 395.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.09774, allocations: 103.8 kB / 395.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004414/0.09818, allocations: 410.2 kB / 395.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.09838, allocations: 95.27 kB / 395.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.09858, allocations: 155.4 kB / 395.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.0988, allocations: 163.3 kB / 396.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.45e-05/0.09885, allocations: 36 kB / 396.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.385e-05/0.0989, allocations: 40 kB / 396.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.09898, allocations: 79.69 kB / 396.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.09915, allocations: 171.2 kB / 396.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.09963, allocations: 430.4 kB / 396.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.09964, allocations: 4 kB / 396.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09964, allocations: 0 / 396.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.09964, allocations: 0 / 396.9 MB, free: 3.215 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001048/0.1007, allocations: 0.6243 MB / 397.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1007, allocations: 8.031 kB / 397.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.368e-05/0.1008, allocations: 62.73 kB / 397.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.1009, allocations: 36.7 kB / 397.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.1013, allocations: 291.8 kB / 397.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.1013, allocations: 20.94 kB / 397.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.1014, allocations: 24.38 kB / 397.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.1019, allocations: 288.7 kB / 398.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1019, allocations: 7.875 kB / 398.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.1019, allocations: 8 kB / 398.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.1019, allocations: 16 kB / 398.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.1023, allocations: 202.2 kB / 398.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.1041, allocations: 1.156 MB / 399.6 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.1046, allocations: 194.6 kB / 399.8 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.1049, allocations: 136.9 kB / 399.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1049, allocations: 0 / 399.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/0.1052, allocations: 166.7 kB / 400.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.1052, allocations: 0 / 400.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001382/0.1066, allocations: 0.503 MB / 400.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.1067, allocations: 136.5 kB / 400.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.107, allocations: 252.9 kB / 400.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.107, allocations: 29.7 kB / 401 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1071, allocations: 168.7 kB / 401.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.1072, allocations: 71.42 kB / 401.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1073, allocations: 53.66 kB / 401.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1075, allocations: 338.8 kB / 401.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1076, allocations: 67.97 kB / 401.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.1078, allocations: 133.1 kB / 401.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.1081, allocations: 159.4 kB / 401.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1081, allocations: 0 / 401.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004889/0.1086, allocations: 286.2 kB / 402.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1086, allocations: 11.98 kB / 402.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1086, allocations: 0 / 402.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003202/0.1089, allocations: 92.75 kB / 402.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1091, allocations: 27.92 kB / 402.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/0.1116, allocations: 2.15 MB / 404.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.1118, allocations: 35.77 kB / 404.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.1118, allocations: 4 kB / 404.5 MB, free: 11.02 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,idealTriac.fire1,idealTriac.idealThyristor1.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.112, allocations: 146.8 kB / 404.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.112, allocations: 35.78 kB / 404.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.1121, allocations: 30.19 kB / 404.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1121, allocations: 0 / 404.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1121, allocations: 4 kB / 404.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1121, allocations: 3.984 kB / 404.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.1131, allocations: 0.7658 MB / 405.5 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.1131, allocations: 4 kB / 405.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1132, allocations: 24.02 kB / 405.6 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/0.1134, allocations: 92.73 kB / 405.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.1134, allocations: 7.938 kB / 405.6 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/0.1158, allocations: 2.139 MB / 407.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1158, allocations: 8.094 kB / 407.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/0.1165, allocations: 453.5 kB / 408.2 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.1167, allocations: 124.9 kB / 408.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.1167, allocations: 4 kB / 408.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.1169, allocations: 20.05 kB / 408.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.117, allocations: 31.95 kB / 408.4 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.117, allocations: 4 kB / 408.4 MB, free: 6.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.1172, allocations: 180.5 kB / 408.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1172, allocations: 0 / 408.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004451/0.1177, allocations: 91.84 kB / 408.7 MB, free: 6.613 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 2 (idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001075/0.1187, allocations: 0.9949 MB / 409.7 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007513/0.1195, allocations: 354.7 kB / 410 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1195, allocations: 8 kB / 410 MB, free: 5.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.1199, allocations: 255 kB / 410.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.1203, allocations: 64.41 kB / 410.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.1242, allocations: 2.759 MB / 413.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.1246, allocations: 0.7635 MB / 413.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.1247, allocations: 26.28 kB / 413.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.1248, allocations: 83.41 kB / 414 MB, free: 1.129 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1248, allocations: 0 / 414 MB, free: 1.129 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03787/0.1627, allocations: 7.607 MB / 421.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.49, allocations: 8 kB / 421.6 MB, free: 9.457 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_IdealTriacCircuit_fmu --startTime=0 --stopTime=2 --stepSize=0.00039604 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_IdealTriacCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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: 13.85465706186369]