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.001674/0.001674, allocations: 120.2 kB / 21.94 MB, free: 8 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.001964/0.001964, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.595/1.595, allocations: 207.6 MB / 236 MB, free: 9.988 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.001976/0.001976, allocations: 55.92 kB / 348.5 MB, free: 9.504 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2897, allocations: 49.15 MB / 397.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.004679/0.2943, allocations: 3.925 MB / 401.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.2963, allocations: 1.04 MB / 402.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003537/0.2967, allocations: 6.781 kB / 402.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.297, allocations: 85.31 kB / 402.7 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003549/0.2973, allocations: 171.2 kB / 402.8 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.2979, allocations: 212.1 kB / 403 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007963/0.2987, allocations: 0.7607 MB / 403.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.299, allocations: 124.3 kB / 403.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004057/0.2994, allocations: 299.4 kB / 404.2 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.2998, allocations: 336.7 kB / 404.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.2999, allocations: 76.38 kB / 404.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.3, allocations: 80.56 kB / 404.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.3001, allocations: 149.6 kB / 404.8 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.3004, allocations: 320.1 kB / 405.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008533/0.3012, allocations: 0.8017 MB / 406 MB, free: 4.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3012, allocations: 0 / 406 MB, free: 4.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3012, allocations: 0 / 406 MB, free: 4.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3012, allocations: 0 / 406 MB, free: 4.223 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.002501/0.3037, allocations: 0.9166 MB / 406.9 MB, free: 3.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3038, allocations: 14.67 kB / 406.9 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.3039, allocations: 68.91 kB / 407 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005796/0.3045, allocations: 339.7 kB / 407.3 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.3045, allocations: 28.81 kB / 407.3 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-05/0.3046, allocations: 40.77 kB / 407.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.3059, allocations: 0.5601 MB / 407.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.3059, allocations: 3.938 kB / 407.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.3059, allocations: 17.02 kB / 407.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.3059, allocations: 8.031 kB / 407.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.3076, allocations: 0.5752 MB / 408.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.3108, allocations: 1.956 MB / 410.5 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.3144, allocations: 0.7657 MB / 411.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008889/0.3153, allocations: 341.8 kB / 411.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/0.3154, allocations: 3.906 kB / 411.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009755/0.3163, allocations: 400.2 kB / 412 MB, free: 0.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.695e-06/0.3163, allocations: 4 kB / 412 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.009525/0.3259, allocations: 1.716 MB / 413.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.3259, allocations: 89.19 kB / 413.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/0.3265, allocations: 384.5 kB / 414.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.3266, allocations: 37.08 kB / 414.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.3269, allocations: 224 kB / 414.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.327, allocations: 137.7 kB / 414.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.3272, allocations: 70.03 kB / 414.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3274, allocations: 352.1 kB / 415 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008605/0.3283, allocations: 270.9 kB / 415.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008666/0.3291, allocations: 309.6 kB / 415.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.3308, allocations: 0.5393 MB / 416.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3308, allocations: 3.938 kB / 416.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005034/0.3359, allocations: 1.051 MB / 417.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.136e-05/0.3359, allocations: 31.61 kB / 417.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3359, allocations: 0 / 417.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.3373, allocations: 404.4 kB / 417.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.3378, allocations: 74.25 kB / 417.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009255/0.347, allocations: 3.573 MB / 421.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008135/0.3478, allocations: 80.61 kB / 421.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.3479, allocations: 20.48 kB / 421.3 MB, free: 10.64 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.0003238/0.3482, allocations: 165.5 kB / 421.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-05/0.3483, allocations: 48.34 kB / 421.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.3484, allocations: 54.56 kB / 421.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3485, allocations: 3.562 kB / 421.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3485, allocations: 5.078 kB / 421.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3485, allocations: 3.938 kB / 421.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007828/0.3493, allocations: 0.5614 MB / 422.1 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.3493, allocations: 3.938 kB / 422.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/0.3497, allocations: 67.34 kB / 422.2 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.3509, allocations: 395.9 kB / 422.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.3509, allocations: 14.27 kB / 422.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008881/0.3598, allocations: 3.58 MB / 426.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3598, allocations: 0 / 426.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00481/0.3646, allocations: 1.24 MB / 427.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.365, allocations: 99.64 kB / 427.5 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.763e-05/0.3651, allocations: 15.94 kB / 427.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000551/0.3656, allocations: 59.92 kB / 427.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.3658, allocations: 47.91 kB / 427.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.3658, allocations: 12 kB / 427.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003851/0.3662, allocations: 279.2 kB / 427.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3662, allocations: 0 / 427.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006839/0.3669, allocations: 167.8 kB / 428.1 MB, free: 4.289 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.0001907/0.3671, allocations: 115.6 kB / 428.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002676/0.3698, allocations: 0.8682 MB / 429.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3698, allocations: 0 / 429.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.3713, allocations: 0.5217 MB / 429.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.3719, allocations: 81.33 kB / 429.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/0.3753, allocations: 1.193 MB / 430.9 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.3758, allocations: 0.8277 MB / 431.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.376, allocations: 39.42 kB / 431.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of SimCode: time 1.383e-06/0.376, allocations: 0 / 431.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of Templates: time 0.01511/0.3911, allocations: 9.389 MB / 441.1 MB, free: 7.133 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/SimpleTriacCircuit/SimpleTriacCircuit.csv","/var/lib/jenkins1/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: 8.828754503047094]