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.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.001724/0.001724, allocations: 103.6 kB / 21.18 MB, free: 332 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.001886/0.001886, allocations: 212 kB / 24.47 MB, free: 3.547 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.508/1.508, allocations: 207.7 MB / 235.3 MB, free: 9.809 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.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [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.001885/0.001885, allocations: 55.92 kB / 347.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2863, allocations: 49.16 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003452/0.2897, allocations: 2.681 MB / 399.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.2909, allocations: 0.7349 MB / 400.3 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.291, allocations: 12.41 kB / 400.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.2912, allocations: 52.16 kB / 400.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.2914, allocations: 101 kB / 400.4 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.2917, allocations: 105.9 kB / 400.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.2921, allocations: 413.1 kB / 400.9 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.2923, allocations: 96.52 kB / 401 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.2925, allocations: 158.5 kB / 401.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.2927, allocations: 144.8 kB / 401.3 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.185e-05/0.2927, allocations: 36.16 kB / 401.4 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.17e-05/0.2928, allocations: 37.12 kB / 401.4 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.2929, allocations: 77.83 kB / 401.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.2931, allocations: 140.8 kB / 401.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.2936, allocations: 437.3 kB / 402 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2936, allocations: 0 / 402 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2936, allocations: 1.094 kB / 402 MB, free: 6.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2936, allocations: 4 kB / 402 MB, free: 6.164 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.0009731/0.2945, allocations: 0.5507 MB / 402.6 MB, free: 5.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2946, allocations: 13.58 kB / 402.6 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.442e-05/0.2947, allocations: 37.73 kB / 402.6 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.295, allocations: 235.5 kB / 402.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.2951, allocations: 19.53 kB / 402.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.2951, allocations: 25 kB / 402.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.2957, allocations: 342 kB / 403.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2957, allocations: 0 / 403.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.2957, allocations: 12.2 kB / 403.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.2957, allocations: 5.594 kB / 403.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.2961, allocations: 205.7 kB / 403.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.2977, allocations: 0.9805 MB / 404.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.2981, allocations: 198.2 kB / 404.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.2985, allocations: 130.3 kB / 404.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.2985, allocations: 2.781 kB / 404.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.2988, allocations: 220.5 kB / 405 MB, free: 4.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.2988, allocations: 3.938 kB / 405 MB, free: 4.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001363/0.3001, allocations: 447 kB / 405.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.3002, allocations: 132.3 kB / 405.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.3004, allocations: 228.1 kB / 405.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3004, allocations: 31.89 kB / 405.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/0.3005, allocations: 174.8 kB / 406 MB, free: 3.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.3006, allocations: 70.59 kB / 406 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/0.3006, allocations: 59.62 kB / 406.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.137e-05/0.3007, allocations: 331.8 kB / 406.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.3009, allocations: 72.19 kB / 406.5 MB, free: 3.039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.3011, allocations: 171.6 kB / 406.7 MB, free: 2.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.3013, allocations: 172.2 kB / 406.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3013, allocations: 0 / 406.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004623/0.3018, allocations: 286.8 kB / 407.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3018, allocations: 10.05 kB / 407.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.3018, allocations: 0 / 407.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003424/0.3022, allocations: 91.77 kB / 407.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.3023, allocations: 25.31 kB / 407.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.3043, allocations: 1.996 MB / 409.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.3045, allocations: 27.47 kB / 409.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.3046, allocations: 10.61 kB / 409.3 MB, free: 0.8984 MB / 318.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.0001366/0.3047, allocations: 144.8 kB / 409.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.3047, allocations: 27.48 kB / 409.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.3048, allocations: 30.2 kB / 409.5 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3048, allocations: 7.406 kB / 409.5 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3048, allocations: 4 kB / 409.5 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3048, allocations: 2.359 kB / 409.5 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008139/0.3056, allocations: 0.6659 MB / 410.1 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3056, allocations: 0 / 410.1 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.3057, allocations: 18.53 kB / 410.2 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002341/0.306, allocations: 98.5 kB / 410.3 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.306, allocations: 6.609 kB / 410.3 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/0.3083, allocations: 1.987 MB / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.3083, allocations: 9.5 kB / 412.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007379/0.3091, allocations: 445.8 kB / 412.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.3092, allocations: 44.64 kB / 412.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.3092, allocations: 11.08 kB / 412.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.3094, allocations: 15.03 kB / 412.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.3095, allocations: 38.66 kB / 412.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.3096, allocations: 9.641 kB / 412.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.3097, allocations: 168.4 kB / 413 MB, free: 14.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3097, allocations: 8 kB / 413 MB, free: 14.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005075/0.3103, allocations: 89.08 kB / 413.1 MB, free: 14.03 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.0001634/0.3104, allocations: 103.7 kB / 413.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008113/0.3112, allocations: 345.9 kB / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3112, allocations: 192 / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004479/0.3117, allocations: 261.3 kB / 413.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.3121, allocations: 49.47 kB / 413.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3135, allocations: 0.6008 MB / 414.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.3137, allocations: 155.6 kB / 414.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.639e-05/0.3138, allocations: 16.12 kB / 414.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.3138, allocations: 19.53 kB / 414.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3138, allocations: 0 / 414.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Templates: time 0.01185/0.3257, allocations: 4.883 MB / 419.5 MB, free: 10.6 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.886618830263615]