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.002096/0.002096, 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.001585/0.001585, allocations: 202.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.481/1.481, allocations: 207.6 MB / 236 MB, free: 9.984 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.002111/0.002111, allocations: 56.25 kB / 348.4 MB, free: 9.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.286, allocations: 49.16 MB / 397.6 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004867/0.2909, allocations: 2.896 MB / 400.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.2927, allocations: 0.7858 MB / 401.3 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004083/0.2931, allocations: 8.188 kB / 401.3 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.2934, allocations: 50.94 kB / 401.3 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.2939, allocations: 97.52 kB / 401.4 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.2943, allocations: 102.5 kB / 401.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007384/0.2951, allocations: 423.9 kB / 402 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.2953, allocations: 98.5 kB / 402.1 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.2956, allocations: 149.4 kB / 402.2 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003333/0.2959, allocations: 169 kB / 402.4 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.964e-05/0.296, allocations: 36.31 kB / 402.4 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.2961, allocations: 37.28 kB / 402.4 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.2962, allocations: 76.92 kB / 402.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.2964, allocations: 176.4 kB / 402.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005863/0.297, allocations: 434.6 kB / 403.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.297, allocations: 0 / 403.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.297, allocations: 4 kB / 403.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.297, allocations: 0 / 403.1 MB, free: 6.145 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.001037/0.2981, allocations: 0.5498 MB / 403.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2981, allocations: 17.3 kB / 403.7 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.504e-05/0.2982, allocations: 42.95 kB / 403.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.2986, allocations: 226.7 kB / 403.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.2986, allocations: 19.53 kB / 404 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.2987, allocations: 25.14 kB / 404 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.2992, allocations: 291.7 kB / 404.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2992, allocations: 3.938 kB / 404.3 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.2992, allocations: 10.66 kB / 404.3 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2992, allocations: 6.625 kB / 404.3 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.2996, allocations: 205.7 kB / 404.5 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.3013, allocations: 1.108 MB / 405.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.3018, allocations: 202.9 kB / 405.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.3021, allocations: 126.6 kB / 405.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.3021, allocations: 3.531 kB / 405.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.3024, allocations: 162.3 kB / 406.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.3024, allocations: 4 kB / 406.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001404/0.3038, allocations: 440.3 kB / 406.5 MB, free: 4.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.3038, allocations: 135.1 kB / 406.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.3041, allocations: 245.8 kB / 406.9 MB, free: 3.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.3041, allocations: 30.92 kB / 406.9 MB, free: 3.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.674e-05/0.3042, allocations: 170.5 kB / 407.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.3042, allocations: 74.88 kB / 407.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.683e-05/0.3043, allocations: 52.17 kB / 407.2 MB, free: 3.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.535e-05/0.3044, allocations: 330.1 kB / 407.5 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.3045, allocations: 77.42 kB / 407.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.3047, allocations: 121.5 kB / 407.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.305, allocations: 168.5 kB / 407.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.305, allocations: 0 / 407.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004403/0.3054, allocations: 290.8 kB / 408.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3055, allocations: 6.016 kB / 408.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3055, allocations: 1.375 kB / 408.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/0.3058, allocations: 90.52 kB / 408.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.3059, allocations: 37.97 kB / 408.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.3079, allocations: 2.028 MB / 410.3 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.3081, allocations: 24.59 kB / 410.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.3082, allocations: 9.5 kB / 410.4 MB, free: 0.9531 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.3083, allocations: 155.8 kB / 410.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.3083, allocations: 32.67 kB / 410.6 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.3084, allocations: 29.91 kB / 410.6 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3084, allocations: 3.469 kB / 410.6 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3084, allocations: 4 kB / 410.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3084, allocations: 3.125 kB / 410.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009658/0.3094, allocations: 0.7489 MB / 411.3 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3094, allocations: 0 / 411.3 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.3095, allocations: 20.16 kB / 411.4 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002543/0.3097, allocations: 89.33 kB / 411.4 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.3098, allocations: 10.16 kB / 411.5 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.3122, allocations: 2.032 MB / 413.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3122, allocations: 1.266 kB / 413.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/0.313, allocations: 453.2 kB / 413.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.3131, allocations: 53.34 kB / 414 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.3131, allocations: 3.078 kB / 414 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.3133, allocations: 23.25 kB / 414 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.3135, allocations: 34.31 kB / 414 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3135, allocations: 5.594 kB / 414 MB, free: 14.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.3138, allocations: 178.2 kB / 414.2 MB, free: 14 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3138, allocations: 0 / 414.2 MB, free: 14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005169/0.3143, allocations: 93 kB / 414.3 MB, free: 13.98 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.0001527/0.3144, allocations: 113.4 kB / 414.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00075/0.3152, allocations: 350.7 kB / 414.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3152, allocations: 0 / 414.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004367/0.3156, allocations: 256.7 kB / 415 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.316, allocations: 54.23 kB / 415.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3174, allocations: 0.6348 MB / 415.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.3179, allocations: 0.765 MB / 416.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.3179, allocations: 23.38 kB / 416.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3179, allocations: 0 / 416.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of Templates: time 0.01011/0.328, allocations: 4.685 MB / 421.2 MB, free: 9.84 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/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: 7.915129048051313]