Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.001938/0.001938, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002803/0.002803, allocations: 217.1 kB / 24.47 MB, free: 3.777 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.728/1.728, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.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.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: translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 62.58 kB / 347.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3332, allocations: 49.15 MB / 396.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.006252/0.3394, allocations: 3.524 MB / 400.4 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.3421, allocations: 0.9958 MB / 401.4 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.3426, allocations: 9.188 kB / 401.4 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.3429, allocations: 82.56 kB / 401.5 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005055/0.3434, allocations: 175.3 kB / 401.6 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.3441, allocations: 215.5 kB / 401.8 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.3452, allocations: 0.752 MB / 402.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003311/0.3455, allocations: 115.2 kB / 402.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005533/0.3461, allocations: 300.6 kB / 403 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.3466, allocations: 302.8 kB / 403.3 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.3468, allocations: 84.12 kB / 403.4 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.347, allocations: 77.44 kB / 403.5 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.3471, allocations: 150.3 kB / 403.6 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.3474, allocations: 256.1 kB / 403.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.3487, allocations: 0.8152 MB / 404.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3487, allocations: 0 / 404.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3487, allocations: 1 kB / 404.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.3487, allocations: 0 / 404.7 MB, free: 4.664 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003177/0.3519, allocations: 0.9213 MB / 405.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.352, allocations: 14.11 kB / 405.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.3521, allocations: 61.36 kB / 405.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008634/0.353, allocations: 344.1 kB / 406 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.729e-05/0.353, allocations: 28.47 kB / 406 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.3532, allocations: 36.56 kB / 406.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.3552, allocations: 0.5872 MB / 406.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.3552, allocations: 0 / 406.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/0.3553, allocations: 20.61 kB / 406.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.3553, allocations: 9.375 kB / 406.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002716/0.358, allocations: 0.5685 MB / 407.2 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005391/0.3634, allocations: 1.758 MB / 409 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00573/0.3691, allocations: 0.7602 MB / 409.8 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.3706, allocations: 341.4 kB / 410.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.577e-05/0.3707, allocations: 8.594 kB / 410.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/0.372, allocations: 415.8 kB / 410.5 MB, free: 1.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 4.128e-06/0.3721, allocations: 0 / 410.5 MB, free: 1.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.01472/0.3868, allocations: 1.722 MB / 412.2 MB, free: 424 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.3868, allocations: 81.67 kB / 412.3 MB, free: 328 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006723/0.3875, allocations: 373.2 kB / 412.7 MB, free: 88 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.759e-05/0.3876, allocations: 32.23 kB / 412.7 MB, free: 52 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.3879, allocations: 235.9 kB / 412.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.388, allocations: 130.5 kB / 413.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.3882, allocations: 73.86 kB / 413.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3884, allocations: 352.7 kB / 413.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008806/0.3893, allocations: 298.3 kB / 413.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009847/0.3903, allocations: 365.6 kB / 414.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.392, allocations: 0.5434 MB / 414.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.392, allocations: 1.281 kB / 414.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00474/0.3967, allocations: 1.075 MB / 415.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/0.3968, allocations: 36 kB / 415.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3968, allocations: 5.25 kB / 415.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.398, allocations: 392.1 kB / 416.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.3985, allocations: 84.92 kB / 416.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008479/0.407, allocations: 3.477 MB / 419.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006945/0.4077, allocations: 84.62 kB / 419.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.4077, allocations: 17.12 kB / 419.8 MB, free: 11.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,simpleTriac.idealDiode1.off,simpleTriac.idealDiode.off,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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 {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003013/0.408, allocations: 165.6 kB / 420 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/0.4081, allocations: 47.95 kB / 420 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.4082, allocations: 53.91 kB / 420.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.4082, allocations: 4.281 kB / 420.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4082, allocations: 0 / 420.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4082, allocations: 0 / 420.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.4089, allocations: 420.7 kB / 420.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4089, allocations: 4 kB / 420.5 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.4093, allocations: 74.45 kB / 420.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.4105, allocations: 391.2 kB / 421 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/0.4105, allocations: 15.2 kB / 421 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0083/0.4188, allocations: 3.466 MB / 424.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4188, allocations: 4 kB / 424.5 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004504/0.4233, allocations: 1.24 MB / 425.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.4236, allocations: 99.62 kB / 425.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.446e-05/0.4237, allocations: 8 kB / 425.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/0.4242, allocations: 67.92 kB / 425.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.4244, allocations: 51.84 kB / 425.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.4244, allocations: 15.94 kB / 425.9 MB, free: 5.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000335/0.4248, allocations: 267.2 kB / 426.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4248, allocations: 4 kB / 426.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006492/0.4254, allocations: 167.8 kB / 426.4 MB, free: 5.059 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001785/0.4256, allocations: 111.5 kB / 426.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.4282, allocations: 0.8932 MB / 427.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4282, allocations: 0 / 427.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.4296, allocations: 0.5178 MB / 427.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.4301, allocations: 77.34 kB / 428 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.4333, allocations: 1.156 MB / 429.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.4335, allocations: 228.6 kB / 429.3 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002097/0.4338, allocations: 47.2 kB / 429.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4339, allocations: 27.44 kB / 429.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4339, allocations: 8 kB / 429.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of Templates: time 0.02193/0.4558, allocations: 13.1 MB / 442.5 MB, free: 4.762 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/SimpleTriacCircuit/SimpleTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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: 6.3259887509047985]